The exact moment iOS takes the view snapshot when entering background?

前端 未结 5 2071
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 09:57

I have a problem when putting my iPhone app to background by pushing the exit button, and then relaunching by tapping the launch icon on the home screen: the app\'s view doe

5条回答
  •  旧巷少年郎
    2020-12-13 10:27

    In iOS 7, there is [[UIApplication sharedApplication] ignoreSnapshotOnNextApplicationLaunch] call that does exactly what you needed.

提交回复
热议问题