takeSelectedIndexFrom(_:)
Navigates to the selected index, which is taken from the sender.
Declaration
@IBAction func takeSelectedIndexFrom(_ sender: Any?)Parameters
- sender:
The control that invoked the action.
Discussion
When invoked, this method causes the page controller’s view to display the object specified by the value taken from the sender control.
This method is animated and invokes the delegate’s pageControllerWillStartLiveTransition(_:) and pageControllerDidEndLiveTransition(_:) methods.