import SwiftUI extension View { @ViewBuilder func appNoAutoCap() -> some View { #if os(iOS) self .textInputAutocapitalization(.never) .autocorrectionDisabled() #else self #endif } @ViewBuilder func appOTPKeyboard() -> some View { #if os(iOS) self .keyboardType(.numberPad) .textContentType(.oneTimeCode) #else self #endif } }