App crashes after permission change

I allow users to change app permission by sending users to "Settings". I noticed that when permission is changed by redirecting users to "Settings", the app crashes/closes when returned to the app. I've read that this is as intended by Apple for security purposes. However, I noticed that apps like Snapchat doesn't crash when navigating back to the app after changing settings. Would someone be able to explain how this is possible?