On Jan 26, 2011, at 5:10 AM, ico wrote:

> Hi All,
> 
> I want to add a UITabBar in my UIViewController, I don't want to use
> UITabBarController because I need to push this view controller into a
> navigation controller.


Don't do that.

>From the "View Controller's Guide for iOS":

Note: Although a navigation controller can be embedded inside a tab, the 
reverse is not true. Presenting a tab bar interface from within a navigation 
interface is potentially confusing for users. A navigation interface uses one 
or more custom view controllers to present an interface focused on one goal, 
which is usually the management of a specific type of data. By contrast, the 
tabs of a tab bar interface can reflect completely different purposes in an 
application and need not be related in any way. In addition, pushing a tab bar 
controller on a navigation stack would cause the tabs to be displayed for that 
screen only and not for any others.



What you are attempting to do is going to be an issue that can get prevent your 
app from being approved in the App Store.  Rethink your UI design and approach 
- you'll be better off in the long run...



Glenn Andreas                      [email protected] 
The most merciful thing in the world ... is the inability of the human mind to 
correlate all its contents - HPL

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to