【发布时间】:2013-06-20 23:58:40
【问题描述】:
我试图通过覆盖这两种方法来删除UIPopoverController 的边框。但它似乎对边界没有任何作用。
有什么建议吗?
+ (BOOL)wantsDefaultContentAppearance
{
NSLog(@"wantsDefaultContentAppearance");
return NO;
}
+ (UIEdgeInsets)contentViewInsets {
NSLog(@"contentViewInsets");
return UIEdgeInsetsMake(0, 0, 0, 0);
}
【问题讨论】: