UIPopover for iphone 4.0 [英] UIPopover for iphone 4.0
本文介绍了UIPopover for iphone 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道iphone 4.0是否支持UIPopover?我试过使用但我在控制台中得到了这个消息:
i would like to know whether iphone 4.0 supports UIPopover?I have tried using but i got this msg in console:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIPopoverController initWithContentViewController:] called when not running under UIUserInterfaceIdiomPad.'
推荐答案
你应该在发布之前仔细阅读文档。
You should really read the documentation carefully before posting.
Popover控制器仅适用于iPad设备
"Popover controllers are for use exclusively on iPad devices"
这篇关于UIPopover for iphone 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文