Can we create UIDeviceOrientationDidChangeNotification event manually?
In AppDelegate.swif I have
func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask
this method will return a result depends on user setting.
It work well but user need change setting during app running.
But the setting will be effective after user rotate the device, what I want is let it effective immediately