Platforms to show: All Mac Windows Linux Cross-Platform

Back to UIViewControllerMBS class.

UIViewControllerMBS.className as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
The name of this NSViewController class.

e.g. XOJViewController
(Read only property)

UIViewControllerMBS.classPath as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
The path of this NSViewController class.

Useful for debugging to know what super classes the view controller has.

e.g. XOJViewController:UIViewController:UIResponder:NSObject
(Read only property)

UIViewControllerMBS.isBeingDismissed as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
A Boolean value indicating whether the view controller is dismissing.

(Read only property)

UIViewControllerMBS.isBeingPresented as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
A Boolean value indicating whether the view controller is presenting.

(Read only property)

UIViewControllerMBS.isViewLoaded as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
A Boolean value indicating whether the view is currently loaded into memory.

(Read only property)

UIViewControllerMBS.parentViewController as UIViewControllerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
The parent view controller of the recipient.

If the recipient is a child of a container view controller, this property holds the view controller it is contained in. If the recipient has no parent, the value in this property is nil.
(Read only property)

UIViewControllerMBS.prefersStatusBarHidden as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
Specifies whether the view controller prefers the status bar to be hidden or shown.

True if the status bar should be hidden or false if it should be shown.
(Read only property)

UIViewControllerMBS.presentedViewController as UIViewControllerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
The view controller that is presented by this view controller, or one of its ancestors in the view controller hierarchy.

When you present a view controller modally (either explicitly or implicitly) using the presentViewController method, the view controller that called the method has this property set to the view controller that it presented. If the current view controller did not present another view controller modally, the value in this property is nil.
(Read only property)

UIViewControllerMBS.presentingViewController as UIViewControllerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
The view controller that presented this view controller.

When you present a view controller modally (either explicitly or implicitly) using the presentViewController() method, the view controller that was presented has this property set to the view controller that presented it. If the view controller was not presented modally, but one of its ancestors was, this property contains the view controller that presented the ancestor. If neither the current view controller or any of its ancestors were presented modally, the value in this property is nil.
(Read only property)

UIViewControllerMBS.Title as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
A localized string that represents the view this controller manages.

Set the title to a human-readable string that describes the view. If the view controller has a valid navigation item or tab-bar item, assigning a value to this property updates the title text of those objects.
(Read and Write property)

UIViewControllerMBS.View as NSViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Mobile Ads MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
The view that the controller manages.

This property represents the root view of the view controller's view hierarchy. The default value of this property is nil.

If you access this property when its value is nil, the view controller automatically calls the loadView method and returns the resulting view.

Each view controller is the sole owner of its view object. Don’t associate the same view object with multiple view controllers. The only exception is that a container view controller implementation may add another view controller’s view object to its own view hierarchy. Before adding the subview, the container must first call its addChildViewController method to create a parent-child relationship between the two view controller objects.

Because accessing this property can cause the view to be loaded automatically, you can use viewLoaded to determine if the view is currently in memory. Unlike this property, viewLoaded doesn’t force the loading of the view if it’s not currently in memory.
(Read and Write property)

The items on this page are in the following plugins: MBS iOS Plugin.


The biggest plugin in space...