objective c - Problems with app crashing in IOS 9 while locking and unlocking? -
my app crashing in ios 9 when unlock screen , unlock again.i dont have issue in ios 8.
i getting device log
** -[uiapplication _handlenonlaunchspecificactions:forscene:withtransitioncontext:completion:] ** unhandled action -> <fbsscenesnapshotaction: 0x7c285b40> { handler = remote; info = <bssettings: 0x7c285ba0> { (1) = 5; }; }
this appdidfinishlaunching method
- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { self.window = [[uiwindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; self.masterviewcontroller = [[appmasterviewcontroller alloc] initwithnibname:nil bundle:nil]; [self loadmasterview]; [self.window makekeyandvisible]; }
for loading first screen using dispatch_queue , method
-(void)loadmasterview { // set idle timer disabled. [[uiapplication sharedapplication] setidletimerdisabled:yes]; self.window.rootviewcontroller =self.masterviewcontroller; dispatch_async(dispatch_get_main_queue(), ^{ homescreencontroller *homescreencontroller = [[homescreencontroller alloc] initwithnibname:@"homescreencontroller" bundle:nil]; homescreencontroller.masterviewcontroller = self.masterviewcontroller; [self.masterviewcontroller pushviewcontroller:homescreencontroller]; }); }
could guys please answer this.
Comments
Post a Comment