widgetMaximumSize
TypeScriptwidgetMaximumSize(displayMode: NCWidgetDisplayMode): { width: number; height: number }Swift declarationfunc widgetMaximumSize(for displayMode: NCWidgetDisplayMode) -> CGSizeCreate and manage widgets for the Today view.
4 types
8 callable entries
7 skipped
53% entry coverage
Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
NCUpdateResult
enum · iOS 8.0+ · Deprecated in iOS 14.0
NCWidgetController
class · iOS 8.0+ · Deprecated in iOS 14.0
NCWidgetDisplayMode
enum · iOS 10.0+ · Deprecated in iOS 14.0
NCWidgetProviding
protocol · iOS 10.0+ · Deprecated in iOS 14.0
widgetMaximumSize(displayMode: NCWidgetDisplayMode): { width: number; height: number }Swift declarationfunc widgetMaximumSize(for displayMode: NCWidgetDisplayMode) -> CGSizeget widgetActiveDisplayMode(): NCWidgetDisplayModeSwift declarationvar widgetActiveDisplayMode: NCWidgetDisplayMode { get }get widgetLargestAvailableDisplayMode(): NCWidgetDisplayModeSwift declarationvar widgetLargestAvailableDisplayMode: NCWidgetDisplayMode { get set }set widgetLargestAvailableDisplayMode(value: NCWidgetDisplayMode)Swift declarationvar widgetLargestAvailableDisplayMode: NCWidgetDisplayMode { get set }static notificationCenter(): Promise<_UIKit_UIVibrancyEffect>Swift declarationclass func notificationCenter() -> UIVibrancyEffectstatic widgetEffect(vibrancyStyle: _UIKit_UIVibrancyEffectStyle): Promise<_UIKit_UIVibrancyEffect>Swift declarationclass func widgetEffect(forVibrancyStyle vibrancyStyle: UIVibrancyEffectStyle) -> UIVibrancyEffectstatic widgetPrimary(): Promise<_UIKit_UIVibrancyEffect>Swift declarationclass func widgetPrimary() -> UIVibrancyEffectstatic widgetSecondary(): Promise<_UIKit_UIVibrancyEffect>Swift declarationclass func widgetSecondary() -> UIVibrancyEffect7 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NCUpdateResult
The iOS SDK compiler rejected this binding: 'NCUpdateResult' is not a member type of class 'Foundation.NotificationCenter'
NCUpdateResult.init(rawValue:)
The iOS SDK compiler rejected this binding: type 'NotificationCenter' has no member 'NCUpdateResult'
NCWidgetDisplayMode
The iOS SDK compiler rejected this binding: 'NCWidgetDisplayMode' is not a member type of class 'Foundation.NotificationCenter'
NCWidgetDisplayMode.init(rawValue:)
The iOS SDK compiler rejected this binding: type 'NotificationCenter' has no member 'NCWidgetDisplayMode'
NCWidgetController.setHasContent(_:forWidgetWithBundleIdentifier:)
The iOS SDK compiler rejected this binding: 'NCWidgetController' is not a member type of class 'Foundation.NotificationCenter'
NCWidgetController.init()
The iOS SDK compiler rejected this binding: type 'NotificationCenter' has no member 'NCWidgetController'
protocol implementation NCWidgetProviding
The iOS SDK compiler rejected this binding: 'NCWidgetProviding' is not a member type of class 'Foundation.NotificationCenter'