UIViewController.GetTargetViewControllerForAction(Selector, NSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the view controller for the specified action and sender.
[Foundation.Export("targetViewControllerForAction:sender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIViewController GetTargetViewControllerForAction (ObjCRuntime.Selector action, Foundation.NSObject sender);
abstract member GetTargetViewControllerForAction : ObjCRuntime.Selector * Foundation.NSObject -> UIKit.UIViewController
override this.GetTargetViewControllerForAction : ObjCRuntime.Selector * Foundation.NSObject -> UIKit.UIViewController
Parameters
- action
- Selector
Specified action.
Returns
The view controller that responds to the action.
- Attributes