How do I force a text field to be upper case only in Swift?
swift
Solution
let textFieldOutput = "Wait a moment, please."
let newString = textFieldOutput.uppercased()
//The string is now "WAIT A MOMENT, PLEASE."
Problem
I would like the text entry on a text field to be upper case only. Is there a way to limit the text field to output only upper case letters or even limit the software keyboard to only display upper case letters to users?