Instance Property

defaultDocumentAspectRatio

The aspect ratio for the Create Document button.

Declaration

var defaultDocumentAspectRatio: CGFloat { get set }

Discussion

The aspect ratio is defined as the button’s width divided by its height. The default is 2.0/3.0.

See Also

Modifying the Browser's Appearance

enum UIDocumentBrowserViewController.BrowserUserInterfaceStyle

Styles that define the document browser's appearance.

var additionalLeadingNavigationBarButtonItems: [UIBarButtonItem]

Additional bar button items that the document browser displays on the leading side of its navigation bar.

var additionalTrailingNavigationBarButtonItems: [UIBarButtonItem]

Additional bar button items that the document browser displays on the trailing side of its navigation bar.

var shouldShowFileExtensions: Bool

A Boolean value that determines whether the browser always shows file extensions.

var localizedCreateDocumentActionTitle: String

The title for the Create Document button.