1. Add new project: First, you have to create an iOS Application. Apple Watch App is an add-on to an existing iOS App. You first have to create an iOS application and then add a WatchKit application to it. Select Universal for Devices. 2. Select Editor Function for Adding Apple Watch Target to Project: Then, you add a WatchKit application to the iOS Application. 3. Add Apple Watch Target to Project 4. Uncheck or Check Include Notification Scene. It is an option. Now we will implement nothing. This project is only for testing. 5. Activate this App's scheme. 6. Afterwards, this project contains 3 main folders: AppleWatchTest, AppleWatchTest WatchKit 1 Extension, and AppleWatchTest WatchKit 1 App A WatchKit application runs in the WatchKit app extension on the iPhone, not on the Apple Watch itself. 7. Review target property settings: General 8. Review target property settings: Build Setting Test: 1. For the first time testing the setting shown below is optional. 2. Run the test: 3. For Apple Watch' app, you will see that this project will generate 2 running processes: Watch App and WatchKit Extension Resources: 1. http://www.apress.com/9781484210260
prettyprint
2015年10月2日 星期五
Apple Watch Test
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言