프로그래밍/iOS

App Store 호출 하기

Nexthops 2018. 8. 13. 23:05

App Store 호출 하기


왠만하면 App 자동 업데이트를 해놓는 것 같은데 그런 것을 꺼두는 사용자를 위해서 최신 앱 버전과 상이할 시 스토어로 이동 시켜야 할 때가 있다. 



let appID = "362057947"

                let appStoreLink = "https://itunes.apple.com/kr/app/id\(appID)"

                UIApplication.shared.open(URL(string: appStoreLink)!, options: [:], completionHandler: nil)



이렇게 하면 끝~