I'm creating an App for Ipad, I created 3 views with a navigation bar but I would to start my application not in first but in second view, what can i do?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- how do you prevent page scroll in textarea on mobi
- iOS (objective-c) compression_decode_buffer() retu
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- Popover segue to static cell UITableView causes co
- How do you detect key up / key down events from a
Initialise your navigation controller on startup programmatically with 2 controllers already in stack:
Or alternatively you can make your 1st controller push the second one on startup - see Apple's DrillDownSave sample for that technique.
You can setup UINavigationController with an initial navigation stack via
setViewControllers:animated:
.Follow somesteps as:
1.open the
MainWindow.xib
in resource folder or bundle.2.click on Tool and open
Inspector
>> chooseattribute
>>NIB Name
-set here your view name from drop down list >>identity
in inspector(from upper tabs) >> chooseclass
-set here your view name again from drop down list.3.Open
appdelegate.m
file change here the view controller as :fileviewcontrollername *viewController;
set it's property.4.in
didFinishLaunching
inappdelegate.m
add5.In
appdelegate.h
file add@class viewControllername;