Comment on shouldChangeCharactersIn called twice on simulator my issue is combination of Xcode 14.3 + iOS 16.4 simulator. Works fine for Xcode 14.3 + iOS 16.0 simulators. Programming Languages Swift Jun ’23