Changes

Working with Images in WatchKit and watchOS 2

276 bytes added, 19:47, 23 October 2015
no edit summary
[[Image:watchkit_image_assets_in_project.png]]
Figure 17-1
[[Image:watchkit_asset_catalog_selected.png]]
Figure 17-2
[[Image:watchkit_image_asset_catalog.png]]
Figure 17-3
[[Image:watchkit_create_image_set.png]]
Figure 17-4
[[Image:watchkit_image_asset_catalog.png]]
Figure 17-5
When a WKInterfaceImage interface object is added to a storyboard scene using Interface Builder the dimensions of the object can be specified from within the Attributes Inspector panel (Figure 17 6). Options are available to allow the object to resize to accommodate the assigned image content, to size relative to the container in which the interface object is located, or to specify fixed height and width dimensions:
[[Image:watchkit_image_attributes.png]]
Figure 17-6
[[Image:watchkit_rocket_image.png]]
Figure 17-7
[[Image:watchkit_template_image.png]]
Figure 17-8
[[Image:watchkit_set_template_image.png]]
Figure 17-9