UIApplication.registerForRemoteNotifications() must be called from main thread only UIApplication.registerForRemoteNotifications() must be called from main thread only swift swift