Instance Property

automaticallyAdjustsScrollViewInsets

A Boolean value that indicates whether the view controller should automatically adjust its scroll view insets.

Declaration

var automaticallyAdjustsScrollViewInsets: Bool { get set }

Discussion

The default value of this property is true, which lets container view controllers know that they should adjust the scroll view insets of this view controller’s view to account for screen areas consumed by a status bar, search bar, navigation bar, toolbar, or tab bar. Set this property to false if your view controller implementation manages its own scroll view inset adjustments.

See Also

Deprecated

func rotatingHeaderView()

Returns the header view to transition during an interface orientation change.

Deprecated
func rotatingFooterView()

Returns the footer view to transition during an interface orientation change.

Deprecated
var interfaceOrientation: UIInterfaceOrientation

Convenience property that provides the current orientation of the interface, meaningful only if the view controller is taking up the full screen.

Deprecated
func willRotate(to: UIInterfaceOrientation, duration: TimeInterval)

Sent to the view controller just before the user interface begins rotating.

Deprecated
func willAnimateRotation(to: UIInterfaceOrientation, duration: TimeInterval)

Sent to the view controller before performing a one-step user interface rotation.

Deprecated
func didRotate(from: UIInterfaceOrientation)

Sent to the view controller after the user interface rotates.

Deprecated
var searchDisplayController: UISearchDisplayController?

The search display controller associated with the view controller.

Deprecated
func shouldAutomaticallyForwardRotationMethods()

Returns a Boolean value indicating whether rotation methods are forwarded to child view controllers.

Deprecated
func presentMoviePlayerViewControllerAnimated(MPMoviePlayerViewController!)

Presents the movie player view controller using the standard movie player transition.

Deprecated
func dismissMoviePlayerViewControllerAnimated()

Dismisses a movie player view controller using the standard movie player transition.

Deprecated
func forUnwindSegueAction(Selector, from: UIViewController, withSender: Any?)

Called when an unwind segue action wants to search a container'€™s children for a view controller to handle the unwind action.

Deprecated
func segueForUnwinding(to: UIViewController, from: UIViewController, identifier: String?)

Called when an unwind segue action needs to transition between two view controllers.

Deprecated
var bottomLayoutGuide: UILayoutSupport

Indicates the lowest vertical extent for your onscreen content, for use with Auto Layout constraints.

Deprecated
var topLayoutGuide: UILayoutSupport

Indicates the highest vertical extent for your onscreen content, for use with Auto Layout constraints.

Deprecated
var canDisplayBannerAds: Bool

A boolean value that indicates whether the view controller is configured to display banner ads.

Deprecated
var originalContentView: UIView?

The originally configured content view of the view controller before banner ads were enabled.

Deprecated
var isPresentingFullScreenAd: Bool

A boolean value that indicates whether the view controller is displaying a full-screen ad.

Deprecated
var isDisplayingBannerAd: Bool

A boolean value that indicates whether the view controller is displaying a banner ad.

Deprecated
class func prepareInterstitialAds()

Prepares the iAd framework to display interstitial ads, which may involve prefetching ad assets.

Deprecated
var interstitialPresentationPolicy: ADInterstitialPresentationPolicy

Determines whether interstitials should be presented at all and whether the framework or app should manage the presentation.

Deprecated
func requestInterstitialAdPresentation()

Asks the framework to display an interstitial ad.

Deprecated
var shouldPresentInterstitialAd: Bool

Returns whether an interstitial ad should be displayed.

Deprecated