简体   繁体   中英

How to hide apple watch app for specific version

I am developing an apple watch app.
I want the app to be available only to users using watch OS 2.1 and above.

Is it possible that I hide the watch app for users running Watch OS 2.0 or less. If not is there a way I can detect the paired watch's OS version and show a message on phone app?

Select your Watch app target in Xcode and then go to Build Settings . In the deployment section, select 'watchOS 2.1' for the watchOS deployment target

在此处输入图片说明

This won't actually hide your app from the app list in the iOS Watch App, but if "show on Apple Watch" is selected, the installation will fail.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM