48.11 Previewing the Widget
Using the preview canvas, verify that the widget appears as shown in Figure 48-12 below:
Figure 48-12
Next, test the widget on a device or simulator by changing the active scheme in the Xcode toolbar to the WeatherWidgetExtension scheme before clicking on the run button:
Figure 48-13
After a short delay, the widget will appear on the home screen and cycle through the different weather events at 30 second intervals:
Figure 48-14