I'm trying to create a UISplitView like in facebook iphone by using two UIViews on top of one another (iOS 4.2). I've a UINavigationController and when the user clicks on the leftbar button in the UINavigation controller the Top View should slide away and leave the second view. It works fine but the UINavigationController remains in the same position and I would like to slide it also with the TopView so that there is no UINavigationController on the BottomView. Is this possible? I also referred to similar questions in stackoverflow but couldn't find anything related to this particular problem. Appreciate your suggestions on this regard a lot. Thanks in advance.
Have a look at JTRevealSidebarDemo. That is what exactly what you want.
Please let me know if you anything else than this.
Related
I am trying to create button click to present bottom sheet viewcontroller using storyboard not code base. View controller swipe down to dismiss viewcontroller with background light dark effect.
I tried below cocoapods but I didn’t get easy way.
https://github.com/gordontucker/FittedSheets
Please, give me some ideas how to achieve this by using Storyboard?
Might be too late but I juste released a Framework that does exactly what you need.
https://github.com/Que20/UIDrawer
It is a custom UIPresentationController, it doesn't affect you view controller presenting or the modal itself.
It support swipping and dragging (to deploy and close).
It is customizable.
Hope it'll help :)
I am currently recreating an Instagram app. (For learning purposes.)
But I am stuck recreating the search bar in the Search page.
Instagram's Search Bar
So far my implementation of UISearchController displays a segment controller with buttons. But is not close to Instagrams. Or any other animation similar to it that will lead me on the right direction will be greatly appreciated it.
This works for copying that kind of tab view controller. Here is a picture of it.
Check out this Github page. They have created a segmented controller just like instagram's, and if you scroll down you can see images of it.
I am looking for a possibility to set a sidebar menu programmatically in the AppDelegate. I want to have a top navigation controller with a sidebar button on the left. when the button is pressed, a UIView appear of the left side. A Collection of ViewControllers where initialized in the AppDelegate. they should then appear in the sidebar menu.
Here is a mockup of how I imagine it:
http://i.stack.imgur.com/iBI53.png
Does anyone have an idea how to implement it?
many thanks in advance
best regards
moritz
This is the world famous slider (DrawerController) code used most of iOS apps..
https://github.com/mutualmobile/MMDrawerController
If you do not want to use it (I think you should) there are tons of ways to achieve it but it takes time.
As an iOS noob, I recently starting feeling pretty good about myself when my iOS productivity started looking good. Until... I tried to figure out how to combine a UITabBarController with MMDrawerController in a storyboard :-(
The app shows three tabs permanently along the bottom, and I want to add a right-side sliding menu to that, and ideally I want to do this in storyboard. I settled on MMDrawerController for the sliding menu.
Question 1: Is it even possible to point the first tab of the UITabBarController to a MMDrawerController? Or should it be the other way around: set up the MMDrawerController at the root, and have the center view be the tabbed screen?
For example, UITabBarController has to be the root view of the application. So, I tried setting up the MMDrawerController for the view of the first tab (as that's where I need it only anyway), but I was just not able to get it to work at all. All examples of how to integrate MMDrawerController into your project that I could find online, all set up the MMDrawerController at the root. To set up a tabbed screen as a sub view, it looks like you can't use UITabBarController, but need to mimic that yourself with UITabBar and regular UIViewControllers?
Question 2: Has anyone seen any examples or tutorials that combine a tabbed interface with the side sliding menu?
The UI used in the Facebook iPhone app is essentially what I'm trying to employ here: you can drag the side sliding menu and as you do that it pushes out the main view along with its fixed tabs at the bottom.
I'm totally overwhelmed and confused. I have no idea how to attack this. It also doesn't help that I'm totally new at Storyboards :-(
Any help, or just pointers are super appreciated...
Thanks,
Erik
here is a good tutorial to implement a sliding menu like facebook.
I want to create a custom UISplitViewController for iPad. It is similar to the Facebook iPad version where there is a viewcontroller and a side table view controller, where the table view is the chat group in facebook NOT the Favorites/Group hidden section.
I want to replicate this:
2x version here: http://i.imgur.com/0WI5yWo.png
I would have a UINavigationViewController that has a navigtionItem left side button, a Title, and a right side searchbar. In it's left viewController it will have a viewcontroller that has a mapview and a tableview underneath it. The right viewcontroller will be a tableViewController. There is also a UISegmentedControl above both these viewcontrollers. Anyone have any ideas on how to go about this? Any help is appreciated. Thanks!
Things I have done:
I have tried using the stock UISplitViewController but I cannot seem to add a UINavigationController to it nor customize it how I want to.
I think my best option is to have a UIViewController that has 2 ContainerViews. The only problem I can see would be that UISegmentedController as well as how I will have 2 tableviews in one file.