i used empty application template create project on xcode 4.3. used empty application template because wanted use core data. created storyboard , added project. when ran it, says rootviewcontroller required. using navigationcontroller. tried set rootviewcontroller self.navigationcontroller in app delegate class, can't. in advance solutions.
paw
couple things try
1. make sure set main storyboard target storyboard created.
2. in appdelegate.m file
remove following lines
- (bool)application: (uiapplication *)application didfinishlaunchingwithoptions: (nsdictionary *)launchoptions
code:
self.window = [[uiwindow alloc] initwithframe: [[uiscreen mainscreen] bounds]]; // override point customization after application launch. self.window.backgroundcolor = [uicolor whitecolor]; [self.window makekeyandvisible];
tested on quick project , got rid of error message seeing
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment