Ich habe ein Applet, von dem ich eine andere App herunterladen kann, Durch die Plist, die zu ipa geht, Es dauert eine Menge Zeit vom Lesen bis zur URL und bis ich das sehe App beginnt zu fallen, Gibt es eine Möglichkeit, dass es nicht dauern wird zu klicken?Anwendung von URL öffnen - ios 10
1
A
Antwort
0
if let url = NSURL(string:<#Your url string here#>) {
if #available(iOS 10.0, *) {
// for ios 10
UIApplication.shared.open(url as URL, options: [:], completionHandler: nil)
}
else {
// for ios 9 or older
UIApplication.shared.openURL(url as URL)
}
}
+0
das ist mein Code, aber es funktioniert nicht – Dvor
-1
let appId = "xxx"
let storeUrl = String(format: "itms-apps://itunes.apple.com/app/id%@", arguments: [appId])
UIApplication.shared.openURL(URL(string: storeUrl)!)
+0
die App in meinem Shop – Dvor
Verwandte Themen
- 1. iOS 10 Öffnen Einstellungen Crash
- 2. Einstellungen öffnen Programmatically iOS 10
- 3. Öffnen iOS-Anwendung von URL ohne Umleitung zum Browser
- 4. Anwendung friert in IOS 10
- 5. Anwendung öffnen: url: sourceApplication: annotation: beim Start iOS App
- 6. Öffnen Sie eine URL von iPhone-Anwendung
- 7. Anwendung von URL mit http öffnen
- 8. URL-Schema "Einstellungen öffnen" ios
- 9. iOS 10 kann spotify App nicht öffnen
- 10. iOS 10 UNNotificationAction App vom Hintergrund öffnen
- 11. URL zum Öffnen der Android-Anwendung
- 12. iOS 10 Nachrichten App URL-Vorschau
- 13. Wie programmatisch öffnen Sie die Bluetooth-Einstellungen in iOS 10
- 14. iPhone- Öffnen Sie Einstellungen von meiner Anwendung iOS 6
- 15. iPhone-Anwendung Konnte nicht auf IOS 10
- 16. MMDrawerController: push viewcontroller Formular Anwendung öffnen URL
- 17. Öffnen Facebook Url mit Facebook-Anwendung
- 18. URL-Schema iOS | Open-Source-Anwendung Programmtically
- 19. Öffnen Sie das Bluetooth-Einstellungsmenü in IOS 10
- 20. hochladen neue iOS 10 Anwendung von älteren Xcode 7
- 21. „Prefs“ URL-Schema in iOS 10 mit LSApplicationWorkspace
- 22. Subclass URLSession iOS 10
- 23. Anwendung von Benachrichtigung öffnen
- 24. So öffnen Sie die Standard-Musik-App in meine Anwendung ios 10
- 25. Xamarin IOS 10 App-Store-Anwendung programmgesteuert in meiner App öffnen
- 26. Öffnen Game Center mit URL-Schema in iOS 10 nicht mehr arbeiten
- 27. iOS: Get URL Schema der Anwendung
- 28. Anwendung mit URL-Schema aus einer Hintergrundanwendung öffnen
- 29. iOS 10 Heute Widget aus der App in Swift öffnen
- 30. IOS 10 mit SDK 9 nicht Remote-Benachrichtigung zu öffnen
viel Zeit von ... – Dvor
Beispielcode: NSURL * url = [NSURL URLWithString: @ "itms-Dienste: // action = download-Manifest & url = https: // .. ... plist "]; [[UIApplication sharedApplication] openURL: URL-Optionen: @ {} completionHandler: nil]; – Dvor