Monotouch UIPopover iPhone覆盖_popoversDisabled

时间:2012-05-06 04:54:08

标签: c# iphone xamarin.ios

我在youtube上看到了这个视频,在objective-c中他能够覆盖_popoversDisabled方法并允许它们显示在iPhone上。

我的问题是,我如何在单音中做同样的事情,如下所示:

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

0 个答案:

没有答案