iPhone SwiftUI layouts

Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.

Label

Image Label

Creates a label with an icon image and a title generated from a localized string.

Explore Image Label on iPhone in portrait, with SwiftUI code and Apple API documentation.

Label("Foo", image: .cats)
iOS 14.0+ iPadOS 14.0+ macOS 11.0+ watchOS 7.0+ tvOS 14.0+ visionOS 1.0+

Every available iPhone screenshot for Image Label.

1 views