ipad - application taking time while launching first time on iOS 6.X.X -
application launch taking 5-6 seconds on ios 6.x.x versions in ipads. works on ios 5.x. default.png file remains little longer on screen ios 6.x.x.what wrong loading.
self.window = [[uiwindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; uiinterfaceorientation orientation=[[uiapplication sharedapplication] statusbarorientation];
if (orientation==uiinterfaceorientationlandscapeleft || orientation==uiinterfaceorientationlandscaperight) { self.viewcontroller=[[ebhomeviewcontroller alloc] initwithnibname:@"ebhomeviewcontroller-la" bundle:nil] ; } else if(orientation==uiinterfaceorientationportrait || orientation==uiinterfaceorientationportraitupsidedown) { self.viewcontroller=[[ebhomeviewcontroller alloc] initwithnibname:@"ebhomeviewcontroller-pt" bundle:nil] ; } navcontroller = [[uinavigationcontroller alloc] initwithrootviewcontroller:self.viewcontroller]; self.window.rootviewcontroller = navcontroller; [self.window makekeyandvisible];
there no heavy code in applicationdidfinishlaunching.it takes time when install app & open first time /restarting ipad & launching application.
Comments
Post a Comment