previewContext(faceColor:)
Returns a view that Xcode can display as a preview.
Declaration
func previewContext(faceColor: CLKComplicationTemplate.PreviewFaceColor = .multicolor) -> some View
Parameters
- faceColor:
The tint color for the face. If you omit this parameter, it defaults to a full-color face. For a list of valid face colors, see Previewfacecolor.