ios retractable menu? - iphone

I'm trying to figure out how to make a retractable menu (left panel) as gmail app or facebook app...
I don't know how to move just part of the front window to show the menu (in another view) when you tap on the corresponding button.
Can you give me some clue on how to do it?

Create a custom container controller and use affine trasforms to the view controller's view.

Related

Showing a overlaying menu when tab bar item is clicked - IOS

Thanks for reading my question!
I have a 5-part tabbar which I use for app navigation, the center tab is covered by a UIButton and is slightly larger (much like the instagram app). This works fine.
But what I want is the far right tab bar item to show a overlaying menu when clicked. I don't want it to switch to a viewcontroller with a menu. I want the menu to be displayed no matter which of the other views you're in at the moment. So I want it to act much like a button which is in the tabbar. But I have no idea how to go about doing this.
Should I use a overlaying button over the tabbaritem or should I catch the tabbarclick, but how can I prevent the view from changing in that case?
Thanks you for any help!
You need to implement UITabBarDelegate. Then override tabBar:didSelectItem: and implement your custom displaying here. See below for reference
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITabBarDelegate_Protocol/Reference/Reference.html
Then i would just make a custom UIView and fade it in when that specific tagged UITabBarItem is pressed.

Facebook type slide menu for UITabBarcontroller with custom button in navigation bar

I want to implement Facebook type slide menu for UITabBarController, which has four tabs(Screens) and also this side menu should appear when we click on Custom UIButton at the top of each screen. I tried some of the open source slide menus like ECSlidingViewController, PKRevealController, JTRevealSidebarDemo, and SASlideMenu, but none of them provided this functionality without UINavigationController. Could anyone guide me how to achieve above.
Thanks in advance.
Those open source slide menus are often complicated and not well built, or built for older versions. This is what I did
Create a custom button, and then animate it to slide left to right or right to left, off the scree to on the scree to make it look like its expanding, etc.
Hope this helps

How to create a small popup in iOS?

I'm looking for the simplest code in order to implement a small popup (NOT a full screen modal popup or alert view). I just need it to display some basic text inside the popup, then exit it when I click away. The popup in the EleMints app is a good example.
UIPopoverController does this, but it's limited to iPad only. If you need this on iPhone, just implement a custom UIView subclass. Then when you want to show your popover, instantiate the subclass and add it to your view, maybe with some animation.
You can use WEPopOver as that is the one you required. For more info, visit this link
You can also use the following refrence link for UIPopOver controller
1) WEPopOver Library
2) Popup Bubbles

Tab Bar with popup buttons iPhone

I want to have this type of bar at the bottom of the application and whenever a button is clicked new buttons should popup, which one of them when clicked should take me to its connected view
You shouldn't use Popup as control, I'll recommend you to use it like a notification as this is not Apple way of showing controls.
Here is a nice link from boctor iDev recipes.
You can find here custom UITabBar as well Notification
I would suggest you not to try customizing UITabbar. This will go against the normal behavior of UITabbar and Apple may reject your app for tampering with normal behavior.
You can try having a UIView with a set of buttons in them and bring the similar functionality as in your image.

displaying sub menus on tab bars in iphone apps

Is it possible to display a sub menu on a tab bar in iphone apps. I mean when a user clicks on a tab, instead of displaying a new view, displays a new set of buttons on the top of the tab.
Does anyone know how to implement this?
Well, you can't do it without displaying a new view but that view does not have to fill the screen. If you create a custom UIView subclass that positions itself under the button pressed, you can get the behavior you want.