标签:
围绕着某一块特定区域显示(箭头指定那块特定区域)
- (void)presentPopoverFromRect:(CGRect)rect inView:(UIView *)view permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated;
@property (nonatomic, copy) NSArray *passthroughViews;
----------------------------------------------------------------------------------
[popover presentPopoverFromRect:button.bounds inView:button permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES];
[popover presentPopoverFromRect:button.frame inView:button.superview permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES];
---------------------------------------------------------------------------------
-[UIPopoverController dealloc] reached while popover is still visible.
------------------------------------------------------------------------
标签:
原文地址:http://www.cnblogs.com/liuzhenjie/p/5447386.html