iPhone device vs. iPhone simulator

后端 未结 25 2577
暖寄归人
暖寄归人 2020-11-28 07:51

I have heard of apps not working properly on the simulator but working properly on the actual iPhone device. Has anyone experienced an app that runs perfectly in the simula

25条回答
  •  一个人的身影
    2020-11-28 07:54

    Also note that you will be compiling against the OS X frameworks (where applicable) when building for the simulator so you could be using methods and classes that aren't available on the iPhone versions of the frameworks.

    One example I can think of off the top of my head is NSPredicate. I was able to compile and run an app using NSPredicate in the simulator, but it wouldn't compile for the device since that class isn't available.

提交回复
热议问题