Post

Replies

Boosts

Views

Activity

Reply to Contact who ?
Betas are meant for development devices with the accepted risk of issues. Wait until it goes into public release then book an appoint with your local Apple store or ask your questions in the community forums where retail Apple specialist will assist you seeing this is not a developer related issue.
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’22
Reply to Why does a MainActor class / function not run on Main Thread?
Change (optional) @MainActor func updateSomeUI() {     assert(Thread.isMainThread) // Assertion failed! } to     func updateSomeUI() {         assert(Thread.isMainThread) // Assertion failed!     } Then class UpdateObject {     func fetchSomeData(completion: @escaping (_ success: Bool) -> Void) {         DispatchQueue.global().async {             completion(true)         }     } } to class UpdateObject {     func fetchSomeData(completion: @escaping (_ success: Bool) -> Void) {        Task { @MainActor in             completion(true)         }     } }
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’22
Reply to iphone 11 pro max nfc problem
Maybe @Apple needs to post a disclaimer to non-developers that this is not the place to ask consumer related questions hence the reason also for so much spam where any non-developer can just sign up and post unrelated questions. Please go the to Apple community forums here for all non-developer related questions.
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’22
Reply to SwiftUI retain cycle with .searchable
If you do this then there is no need to create a new object model on each push. It is created once and destroyed once on app exit: @main struct MyApp: App {     @StateObject var model = Retainer()     var body: some Scene {         WindowGroup {             ContentView()                 .environmentObject(model)         }     } } struct RetainCycleView: View {     @EnvironmentObject var model: Retainer     var body: some View {         VStack(alignment: .leading, spacing: 4) {             Text("Navigate back to the previous view.")             Text("You will see that 'Retainer' was NOT deallocated.")             Text("(it's deinit function prints deallocing Retainer)")                 .font(.callout)         }         .padding()         .searchable(text: $model.enteredText)         .onChange(of: model.enteredText) { newValue in             print("Searching for: ", newValue)         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Reply to İpad 7 syscfg help
Welcome to the Apple Developer Forums: Post your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics. For questions about using Apple hardware and services, visit Apple Support Communities
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’22