iOS 4.0.1 “fast app switching” behavior in simulator vs device (iPhone 4)

二次信任 提交于 2019-12-08 06:34:06

问题


I'm testing an iPhone app in both the simulator (XCode 3.2.3, iPhone SDK 4.0.1) and on the device (iPhone 4 and iOS 4.0.1). The simulator exhibits the expected "fast app switching" behavior while the device does not.

Simulator:

  • click home button while app is running => go back to home screen
  • click the app icon => app resumes where it left-off (app does not restart)

Device

  • click home button while app is running => go back to home screen
  • click the app icon => app restarts (does not resume from the user quit)

Why is this happening?


回答1:


Maybe your phone is low on memory.



来源:https://stackoverflow.com/questions/3323882/ios-4-0-1-fast-app-switching-behavior-in-simulator-vs-device-iphone-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!