我看到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