In my app I want to mimic the dock as displayed in Mac.Instead of using tab bar I want to use a dock kind of view in my app so that when a user taps on a dock item a new view is displayed.Is there any code or help availble for the same?
you could use photoshop to create the dock graphic, and individual buttons. upon one of the buttons being pressed have a new view transition in. Apple has sample code of how to transition views in their iPhone sample code.
Related
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.
When a user clicks a button, I want a full screen iAd to appear, before the user can continue.
I can create the popup view, but how do I fill the whole view with an iAd? (e.g. like its done in wordfeud)
ADInterstitialAd (or full screen iAd) is only available for the iPad. You can't use it on the iPhone.
From iAd Programming Guide:
Full-Screen Advertisements are Only Available on iPad
Have a look at that guide to see how to implement full-screen iAds on the iPad.
Use the ADInterstitialAd class. You can present it from another view controller (e.g. your main game board’s) with -presentFromViewController:, or within an existing view with -presentInView:.
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.
I'm developing an iOS 4 application.
I have a UITabController with a tab bar with four buttons. One of them it is called play.
When user taps on play button I need to change tab bars buttons: now it will have to buttons, one to turn back to previous screen and another one to stop.
My question is if I can do that or is there any design guideline that don't allow to do it?
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.