Same issue here. The same code works in iOS 17 but is broken in iOS 18.
Post
Replies
Boosts
Views
Activity
Did you ever solve this?
It also broke for me. Tried many variants to get it to work again, and it still isn't back to working.
Is that the name of a place in china? The city near where I live in New York, USA is named Syracuse.
I found the function that was causing the issue on the phone, however it still allows you to activate the keyboard on the simulator. I don't even know why I had this in the app, but its been removed and not the app works the way expected. I placed this in a sample project and replicated the issue.extension UIView {
override open func becomeFirstResponder() -> Bool {
return true
}
}
First off this is not a SwiftUI Framework issue, its a UIKit issue. So it would not be prudent to move it to mix with swiftui framework mess. What I mean by it doesn't work on device is it won't let you enter text or even activate keyboard.iPhone 11 13.3.1 (yes i know there is an update out, can't update since I don't have access to Wifi until friday.)Simulator Version 11.4 (921.9)XCode 11.4 (11E146)Application Target 13.0Other possibly discories, I took the exact view controller and placed it in a brand new app with nothing else in it and it worked on both device and simulator. The app it was contained in uses PDFKit which has previouly broken the UIStackView buttons. Even while its in another viewcontroller.I looked at the view that will show you a visual represntation of the z-axis of the application, that didn't tell me anything was blocking access to it.