예제 #1
0
 /**
  * @see <a
  *     href="http://developer.apple.com/library/ios/documentation/uikit/reference/UIKit_Framework/../UIPopoverController_class/Reference/Reference.html#//apple_ref/occ/instp/UIPopoverController/contentViewController">@property
  *     (nonatomic, retain) UIViewController *contentViewController</a>
  * @since Available in iOS 3.2 and later.
  */
 public void setContentViewController(UIViewController contentViewController) {
   if (customClass) {
     objc_setContentViewControllerSuper(
         getSuper(), setContentViewController$, contentViewController);
   } else {
     objc_setContentViewController(this, setContentViewController$, contentViewController);
   }
 }
예제 #2
0
 /**
  * @see <a
  *     href="http://developer.apple.com/library/ios/documentation/uikit/reference/UIKit_Framework/../UIPopoverController_class/Reference/Reference.html#//apple_ref/occ/instm/UIPopoverController/setContentViewController:animated:">-
  *     (void)setContentViewController:(UIViewController *)viewController
  *     animated:(BOOL)animated</a>
  * @since Available in iOS 3.2 and later.
  */
 public void setContentViewController(UIViewController viewController, boolean animated) {
   if (customClass) {
     objc_setContentViewControllerSuper(
         getSuper(), setContentViewController$animated$, viewController, animated);
   } else {
     objc_setContentViewController(
         this, setContentViewController$animated$, viewController, animated);
   }
 }