![](/img/trans.png)
[英]Trying to make my iphone app universal. Navigation Controller keeps saying Unbalanced calls
[英]Trying To Make My App Universal
我使用PhoneGap框架在我的www
文件夹中有两个HTML文件。 iPhone / iPod one( /mobile/index.html
)和iPad one( /index.html
)。 所以我在AppDelegate.m
使用这段代码:
+ (NSString*) startPage
{
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
return @"index.html";
} else {
return @"mobile/index.html";
}
}
并将我的Targeted Device Family
编辑到iPhone/iPad
。
但由于某种原因它不起作用。 当我把它放在我的iPad上时,它仍然将应用程序置于兼容模式。 我该怎么办?
请尝试以下方法:
不确定那是你所缺少的。 但是,如果你还没有这样做,它就不会受到伤害。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.