UIUserNotificationSettings.GetSettingsForTypes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得可用來註冊要求的通知和動作類型的設定。
[Foundation.Export("settingsForTypes:categories:")]
public static UIKit.UIUserNotificationSettings GetSettingsForTypes (UIKit.UIUserNotificationType types, Foundation.NSSet categories);
static member GetSettingsForTypes : UIKit.UIUserNotificationType * Foundation.NSSet -> UIKit.UIUserNotificationSettings
參數
- types
- UIUserNotificationType
允許應用程式使用的通知類型點陣圖。
傳回
類型的 UIUserNotificationSettings 使用者通知設定。
- 屬性