objective c - How to set Main Interface field blank? -
i used mainwindow-ipad main interface in project. set window dynamically in application:didfinishlaunchingwithoptions:
self.window = [[[uiwindow alloc] initwithframe:[[uiscreen mainscreen] bounds]] autorelease];
so don't need value in main interface field in ipad deployment info. when try clear field becomes mainwindow. use mainwindow.xib iphone. want leave main interface blank. can do?
if use storyboard, solution uncheck "is initial view controller". property in deployment info still set, launching fails because cannot find default view controller in storyboard. instead code execute in didfinishlaunchingwithoptions executed, result window start intended interface.
Comments
Post a Comment