我在 youtube 上看到了这个视频,在 Objective-c 中,他能够覆盖 _popoversDisabled 方法并允许它们显示在 iPhone 上。
我的问题是,我将如何在 monotouch 中做同样的事情,如下所示:
This code was written by @hamzasood
===============================
=====popover code===========
=============================
@interface UIPopoverController (overrides)
+ (BOOL)_popoversDisabled;
@end
@implementation UIPopoverController (overrides)
+ (BOOL)_popoversDisabled { return NO;
}
@end
Objective-C 视频教程在这里:http ://www.youtube.com/watch?v=1iykxemuxbk&feature=related