Quote:
Originally Posted by vishal
Hi,
I have to develop same kind of application but without login screen. Can you share how you have done this. I have one window in which i mage is displayed and a tab bar in that windows having settings button. when settings button get pressed I have to display different view containing settings options.
Can you share the logic/code for this.
Vishal N
|
Vishal, you need to create a window based application.
In the MainWindow.xib add 2 controllers ... one of type UIViewController
and the other would the TabBarViewController.
In the app delegate applicationDidFinishLaunching method , do a [window addSubview:firstcontroller.view] for the view from the 1st controller.
and then for the required IBAction method on the 1st view controller, get the Appdelegate using the statement
myAppDelegate *delegate = [ [UIApplication sharedApplication] delegate];
and then on the delegate.window , you could do a addSubview or insertsubview for the view of the second controller (i.e. the UITabBarController)
Hope this helps ...
enJoy.