Post

Replies

Boosts

Views

Activity

Reply to iOS17 UITextView inputView becomFirstResponder does not work
Minmal reproducible example: import SwiftUI struct ContentView: View { @State private var text: String = "" @FocusState private var focused: Bool var body: some View { List { TextField("key", text: $text) .focused($focused) if (!focused) { Section { Button("click") { print("click") } } } } } } For some reason, if I remove one of .focused($focused), if (!focused) { or Section, the error doesn't occur.
Topic: UI Frameworks SubTopic: General Tags:
Oct ’23
Reply to Once sandbox is set up, cannot go back to XCode testing with config file.
Same issue and I'm not able to fix this yet. Only clue I get is a logging message from com.apple.storekit: "Subscription store should include at least one auto-renewable subscription.". I tried both of a synced configuration file and a local configuration file, but they don't work.
Replies
Boosts
Views
Activity
Jan ’24
Reply to iOS17 UITextView inputView becomFirstResponder does not work
Minmal reproducible example: import SwiftUI struct ContentView: View { @State private var text: String = "" @FocusState private var focused: Bool var body: some View { List { TextField("key", text: $text) .focused($focused) if (!focused) { Section { Button("click") { print("click") } } } } } } For some reason, if I remove one of .focused($focused), if (!focused) { or Section, the error doesn't occur.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’23