If you receive a notification about using the iOS application using the simulator, add some logic, for example, a notification about the launch after 5 seconds of IBAction. Just block your iOS simulator using (β + L command). Now the notification will be displayed on both devices.
source
share