2010-08-17 92 views

回答

4

看一看UIPopoverController。 初始化它與內容視圖控制器(任何UIViewController子類,顯示你的內容),事後你可以表現出來:

- (void)presentPopoverFromRect:(CGRect)rect inView:(UIView *)view permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated 

- (void)presentPopoverFromBarButtonItem:(UIBarButtonItem *)item permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated 
+0

感謝V1ru8! 工作完美 - 非常感謝。 – Matt 2010-08-18 02:17:42

相關問題