Creator.設定する(uiDelegate: self)
UNUserNotificationCenter.現在().delegate = self
let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
UNUserNotificationCenter.現在().requestAuthorization(options: authOptions,completionHandler: {_, _in})
UIApplication.shared.registerForRemoteNotifications()
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
ZCNotificationService.registerAPNS(deviceToken: deviceToken)
}
funcuserNotificationCenter(_:UNUserNotificationCenter,:UNNotification,:(UNNotificationPresentationOptions)->無効){iflet=...as?[String:Any]{印刷する('is Creator Server : \(ZCNotificationService.isCreatorServerNotification(notificationInfo:userInfo))')// this を標準の表示オプションに変更してください}completionHandler([[.,.,.]])}funcuserNotificationCenter(_:UNUserNotificationCenter,:UNNotificationResponse,:()->無効){iflet=....as?[String:Any]{if(ZCNotificationService.isCreatorServerNotification(:))==真{iflet=ZCNotificationService.zcNotification(){// データ概要を例として表示しています。let=ZCUIService.getRecordSummaryViewController(for:)?.?.present(UINavigationController.init(:),:真,:nil)}}else{// Zoho Creator サーバーからの差出人ではありません}completionHandler()}}
ZCNotificationService.unRegisterAPNS {
}
メモ: この設定を削除すると、iOSアプリのユーザーは、Creatorアプリケーション内のワークフローやモバイルSDKで作成されたiOSアプリから送信されるプッシュ通知を受信できなくなります。
「導入したばかりで基本操作や設定に不安がある」、「短期間で集中的に運用開始できる状態にしたい」、「運用を開始しているが再度学び直したい」 といった課題を抱えられているユーザーさまに向けた少人数制のオンライントレーニングです。
日々の営業活動を効率的に管理し、導入効果を高めるための方法を学びましょう。