While searching I've seen more than one url form used for launching from an app into the iPhone's App Store app. Both of these work, but is one preferred to the other, if so why, or are they exactly equivalent?
let appStoreLink1 = "https://itunes.apple.com/us/app/apple-store/idNNNNN?mt=8"
let appStoreLink2 = "https://apps.apple.com/us/app/name-of-app/idNNNNN"
if let url = URL(string: appStoreLink1 or appStoreLink2), UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: {(success: Bool) in
...