1

I am develop IOS App ,and run the App on my iPhone.

I press the Home Button on iPhone , but when I click twice for Home button and turn to my App , it show the View like the following picture. The View is Disappear when I went back.

enter image description here

But I don't close the view at the viewDidDisappear or viewWillDisappear. And then when I click the App , it show the blank View like the following picture.

enter image description here

I have no idea about this...Can someone help me ?

Wun
  • 6,211
  • 11
  • 56
  • 101

1 Answers1

0

I think yu didn't use the following functions 1.applicationWillResignActive & 2.applicationWillEnterForeground in your Application. so please use this following functions in AppDelegate.m- (void)applicationWillResignActive:(UIApplication *)application { } -(void)applicationWillEnterForeground:(UIApplication *)application{ }

VIJAi S
  • 35
  • 4
  • I already have above function in `AppDelegate.m`. And it has `[self checkViews:application.windows] ; [navigationController popToRootViewControllerAnimated:NO] ;` in `applicationDidEnterBackground`. But it is the same... – Wun Jun 25 '14 at 06:01