UIPopover for iphone 4.0

198*_*988 1 iphone

我想知道iphone 4.0是否支持UIPopover?我试过使用但是我在控制台中得到了这个消息:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIPopoverController initWithContentViewController:] called when not running under UIUserInterfaceIdiomPad.'
Run Code Online (Sandbox Code Playgroud)

imn*_*mnk 8


在发布之前,您应该仔细阅读文档.

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIPopoverController_class/Reference/Reference.html

"Popover控制器专门用于iPad设备"