skip to Main Content

How to force Picker selection text to fit in 1 line? – Ios swift

With some items of my picker, the text of the selected item takes 2 lines, how can I avoid this ? There is my code : struct PickerTestView: View { @AppStorage("firstNotificationSelection") var firstNotificationSelection: String = (UserDefaults.standard.string(forKey: "firstNotificationSelection")) ?? "None" @AppStorage("secondNotificationSelection")…

VIEW QUESTION
Back To Top
Search