Changes

Jump to: navigation, search

Building an Example watchOS 2 WatchKit App

55 bytes added, 21:18, 23 September 2015
Designing the WatchKit App Storyboard
Before testing the app, some additional attributes need to be set on the objects in the user interface. The first step is to configure the Image object to display an image. Before this can be configured, however, the image file needs to be added to the project. The image file is named [email protected] and can be found in the sample_images folder of the sample code archive which can be downloaded from the following URL:
[http://www.ebookfrenzy.com/code/watchOS2BookSamples.zip http://www.ebookfrenzy.com/code/watchOS2BookSamples.zip]
Within the Project Navigator panel, select the Assets.xcassets entry listed under WatchKitSample WatchKit App so that the asset catalog loads into the main panel. Locate the [email protected] image file in a Finder window and drag and drop it onto the left hand panel in the asset catalog as illustrated in Figure 3-6:
Figure 3-8
 
== Running the WatchKit App ==

Navigation menu