@Deprecated public class UIPopoverController extends NSObject
Constructor and Description |
---|
UIPopoverController(UIViewController viewController)
Deprecated.
Constructs a popover controller.
|
Modifier and Type | Method and Description |
---|---|
UIViewController |
contentViewController()
Deprecated.
Returns the view controller of the popover.
|
UIPopoverControllerDelegate |
delegate()
Deprecated.
Returns the delegate of the popover.
|
void |
dismissPopoverAnimated(boolean animated)
Deprecated.
Dismisses the popover programmatically using animation or not.
|
boolean |
isPopoverVisible()
Deprecated.
Returns a Boolean that shows whether the popover is visible.
|
List<UIView> |
passthroughViews()
Deprecated.
Returns the list of views related to the popover.
|
long |
popoverArrowDirection()
Deprecated.
Returns the direction of the popover arrow.
|
CGSize |
popoverContentSize()
Deprecated.
Returns the size of the popover.
|
void |
presentPopoverFromBarButtonItem(UIBarButtonItem item,
long arrowDirections,
boolean animated)
Deprecated.
Displays the popover using animation or not and anchors it to the
specified bar button item.
|
void |
presentPopoverFromRect(CGRect rect,
UIView view,
long arrowDirections,
boolean animated)
Deprecated.
Displays the popover using animation or not and anchor it to the
specified location of the view.
|
void |
setContentViewController(UIViewController contentViewController)
Deprecated.
Set the specified view controller for the popover.
|
void |
setContentViewController(UIViewController viewController,
boolean animated)
Deprecated.
Set the specified view controller for the popover using animation or not.
|
void |
setDelegate(UIPopoverControllerDelegate delegate)
Deprecated.
Sets the delegate of the popover.
|
void |
setPassthroughViews(List<UIView> passthroughViews)
Deprecated.
Relates the specified list of views with the popover.
|
void |
setPopoverContentSize(CGSize popoverContentSize)
Deprecated.
Sets the size of the popover.
|
void |
setPopoverContentSize(CGSize size,
boolean animated)
Deprecated.
Resizes the popover using animation or not.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public UIPopoverController(UIViewController viewController)
viewController
- The view controller for managing the popover’s content.public UIPopoverControllerDelegate delegate()
public void setDelegate(UIPopoverControllerDelegate delegate)
delegate
- The delegate of the popover.public UIViewController contentViewController()
public void setContentViewController(UIViewController contentViewController)
contentViewController
- The view controller of the popover.public CGSize popoverContentSize()
public void setPopoverContentSize(CGSize popoverContentSize)
popoverContentSize
- The size of the popover.public boolean isPopoverVisible()
public long popoverArrowDirection()
public List<UIView> passthroughViews()
public void setPassthroughViews(List<UIView> passthroughViews)
passthroughViews
- The list of views related to the popover.public void setContentViewController(UIViewController viewController, boolean animated)
viewController
- The view controller of the popover.animated
- TRUE the change is animated.public void setPopoverContentSize(CGSize size, boolean animated)
size
- The new size of the popover.animated
- TRUE the change is animated.public void presentPopoverFromRect(CGRect rect, UIView view, long arrowDirections, boolean animated)
rect
- The rectangular area of the view that contains the popover.view
- The view that contains the popover.arrowDirections
- The arrow that determines the side of the
rectangle to which the popover is positioned.animated
- TRUE then the change is animated.public void presentPopoverFromBarButtonItem(UIBarButtonItem item, long arrowDirections, boolean animated)
item
- The bar button item to which the popover is anchored.arrowDirections
- The arrow that determines the side of the bar
button item to which the popover is positioned.animated
- TRUE then the change is animated.public void dismissPopoverAnimated(boolean animated)
animated
- TRUE then the change is animated.Copyright © 2020. All rights reserved.