Post

Replies

Boosts

Views

Activity

Reply to Apple Intelligence and external drive
Is this true. Might explain my problem. I installed 15.1. Then I went to Apple Intelligence and Siri in the System Settings. I press the button to let me join the Waitlist. I press the "Join Waitlist" but I never get an acknowledgment like I did on iOS and iPadOS. And, the AI features were never downloaded like they were on 18.1 on iPhone and iPad. I run beta software on an external SSD to avoid damaging any applications running in the current released OS on the internal drive. Can anyone suggest a remedy. I did report this issue with Feedback Assistant.
Jul ’24
Reply to How to dismiss keyboard after entering text in a textfield?
SOLVED: I was able to get the keyboard to dismiss and the Picker Sections working at the same time by doing the following:Use the code snippets provided by Claude31 at the top of this issue thread. Then:1. Add this code to the ContentView.swift document immediately below the "import SwiftUI" line:extension UIApplication { func endEditing() { sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) }}2. Add this code immediately following the closing brace of the "body" block: private func endEditing() { UIApplication.shared.endEditing() }3. Insert this line of code in the TextField block: TextField("Amount", text: self.$checkAmount){ self.endEditing() }4. Modify the UIHostingController as window root view controller section of the SceneDelegate.swift document as follows: // Use a UIHostingController as window root view controller. if let windowScene = scene as? UIWindowScene { let window = UIWindow(windowScene: windowScene) window.rootViewController = UIHostingController( rootView: contentView.onTapGesture(count: 2, perform: { window.endEditing(true)}) ) self.window = window window.makeKeyAndVisible() }Note that in order for my background gradient to show through the Sections in the Form I need to add this code at the very top of the "body" View code block: UITableView.appearance().backgroundColor = .clear returnAnd add this modifier following the end of the TextField code block:.background(Color (.clear))These steps solved my issue. I hope I have provided enough detail to help anyone else who happens to run into these issues with the keyboard dismiss and the Pickers when they are used in a SwiftUI Form.73Dale - K0HYD
Jan ’20