UIApplication delegate] must be used from main thread only · Issue #52 · jiulongw/swift-unity · GitHub
![Xcode/Swift】紫の警告の対応方法:UIApplication.registerForRemoteNotifications() must be used from main thread only Xcode/Swift】紫の警告の対応方法:UIApplication.registerForRemoteNotifications() must be used from main thread only](https://i0.wp.com/ios-docs.dev/wp-content/uploads/2021/07/Thumbnail_Warning-1.jpeg?fit=1040%2C620&ssl=1)
Xcode/Swift】紫の警告の対応方法:UIApplication.registerForRemoteNotifications() must be used from main thread only
![Xcode/Swift】紫の警告の対応方法:UIApplication.registerForRemoteNotifications() must be used from main thread only Xcode/Swift】紫の警告の対応方法:UIApplication.registerForRemoteNotifications() must be used from main thread only](https://i0.wp.com/ios-docs.dev/wp-content/uploads/2021/11/swift%E5%85%A5%E9%96%80_4.jpg?resize=160%2C160&ssl=1)
Xcode/Swift】紫の警告の対応方法:UIApplication.registerForRemoteNotifications() must be used from main thread only
![getting warning must be used from main thread in Xcode 11.2 and app crashed, not getting warning in Xcode 10.2 - Stack Overflow getting warning must be used from main thread in Xcode 11.2 and app crashed, not getting warning in Xcode 10.2 - Stack Overflow](https://i.stack.imgur.com/gjbIJ.png)
getting warning must be used from main thread in Xcode 11.2 and app crashed, not getting warning in Xcode 10.2 - Stack Overflow
![Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] - Stack Overflow](https://i.stack.imgur.com/lazOo.png)