Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Change Form Appearance With FormStyle In iOS 16

Change Form Appearance With FormStyle In iOS 16

Daily Coding Tip 142

Millie Sturgeon's avatar
Millie Sturgeon
Jul 31, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Change Form Appearance With FormStyle In iOS 16
Share
landscape photography of mountains
Photo by Simon Berger on Unsplash

Tested on Xcode Version 14.0 beta 3 (14A5270f).

There are now ways to customise the appearance of a Form using the new formStyle modifier:

@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
extension View {
    public func formStyle<S>(_ style: S) -> some View where S : FormStyle
}

Here’s an example that uses the t…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share