I had this app that always worked normally on iOS9, now I\'ve migrated the swift code to 3.0 and added the required plist rows to get access to photos library.
While trying
I was having this same problem running it on the iPhone 7 Plus simulator but it seems to dismiss when I run it on an iPhone 6s Plus simulator. Maybe a bug in the simulator.