Instance Method

rotatingFooterView()

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

Declaration

func rotatingFooterView() -> UIView?

Return Value

The footer view.

If the view controller is a tab bar controller, returns a view containing the tab bar. If the view controller is a navigation controller, returns the top view controller'€™s footer view. The default implementation returns nil.

Discussion

In most cases, the header view is the navigation bar and the footer view is the tab bar. If you are implementing this method in a custom view controller that has its own custom footer view, you can override this method to return that footer view. The view returned from this method should already be part of your view controller'€™s view hierarchy.

You are responsible for adjusting the size and position of the returned view to match the target orientation. You would make such a change in your view controller'€™s rotation methods, such as the willAnimateRotation(to:duration:) method.

See Also

Deprecated

func rotatingHeaderView() -> UIView?

Returns the header 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() -> Bool

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?) -> UIViewController?

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?) -> UIStoryboardSegue?

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 automaticallyAdjustsScrollViewInsets: Bool

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

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() -> Bool

Asks the framework to display an interstitial ad.

Deprecated
var shouldPresentInterstitialAd: Bool

Returns whether an interstitial ad should be displayed.

Deprecated