如何在后台模式下打开弹出窗口 ViewController - iOS
How can I open pop up ViewController in background mode - iOS
应用处于后台模式。当在后台模式下检测 Ibeacon(https://developer.apple.com/ibeacon/) 打开弹出窗口时。
我可以在检测到 Ibeacon 检测时向用户显示本地通知。
Apple 是否允许在后台模式下打开弹出窗口Swift?
语言 - Swift
这是不可能的,因为您需要 ViewController
或 NavigationController
来显示 AlertController
来自。
此外,无法从后台模式显示 ViewController
。
现在,您唯一的选择是显示 LocalNotification
或 PushNotification
并在用户点击它时触发应用程序。
还要检查这个
应用处于后台模式。当在后台模式下检测 Ibeacon(https://developer.apple.com/ibeacon/) 打开弹出窗口时。
我可以在检测到 Ibeacon 检测时向用户显示本地通知。
Apple 是否允许在后台模式下打开弹出窗口Swift?
语言 - Swift
这是不可能的,因为您需要 ViewController
或 NavigationController
来显示 AlertController
来自。
此外,无法从后台模式显示 ViewController
。
现在,您唯一的选择是显示 LocalNotification
或 PushNotification
并在用户点击它时触发应用程序。
还要检查这个