-
(void)applicationWillTerminate:(UIApplication *)application {
//注意:home键退出时
[[PDRCore Instance] unLoad];
[PDRCore destoryEngine];
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}[[PDRCore Instance] unLoad];已经被弃用了。是不是就是用[PDRCore destoryEngine];?结束runtime?苹果审核的时候如果后台runtime运行着,是不是会被拒?
还有一个问题,考虑到网页加载速度,我先加载了,就是让整个app前台的时候一直保持在runtime,占的内存比较多,有问题吗?
关闭runtime的以后内存也没减少多少吗?
0 个回复