Post

Replies

Boosts

Views

Activity

Reply to _PFObjectIDFastHash64 Crash EXC_BAD_ACCESS KERN_INVALID_ADDRESS
having the same crash on Crashlytics ,Any solution on this yet? I am pushed latest build via xcode12.4, after that my app crashed randomly and some time frequently . Have any solution, kindly let me know. Thanks Logs: Thread 3 name: Dispatch queue: NSManagedObjectContext 0x282894000 Thread 3 Crashed: 0 libobjc.A.dylib 0x000000019ce066f4 object_getClass + 12 1 CoreData 0x000000018ee147a4 _PFObjectIDFastHash64 + 32 2 CoreFoundation 0x0000000188dba4f8 __CFBasicHashRehash + 992 3 CoreFoundation 0x0000000188dbe414 CFBasicHashRemoveValue + 2384 4 CoreFoundation 0x0000000188cd5ec0 CFDictionaryRemoveValue + 236 5 CoreData 0x000000018ed611c0 -[NSManagedObjectContext+ 299456 (_NSInternalAdditions) _forgetObject:propagateToObjectStore:removeFromRegistry:] + 124 6 CoreData 0x000000018ed406ec -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 860 7 CoreData 0x000000018ee5e198 __90-[NSManagedObjectContext+ 1335704 (_NSInternalNotificationHandling) _registerAsyncReferenceCallback]_block_invoke + 72 8 CoreData 0x000000018ee54410 developerSubmittedBlockToNSManagedObjectContextPerform + 164 9 libdispatch.dylib 0x000000018898cac8 _dispatch_client_callout + 20 10 libdispatch.dylib 0x0000000188993c08 _dispatch_lane_serial_drain + 580 11 libdispatch.dylib 0x0000000188994734 _dispatch_lane_invoke + 408 12 libdispatch.dylib 0x000000018899e528 _dispatch_workloop_worker_thread + 708 13 libsystem_pthread.dylib 0x00000001d0360908 _pthread_wqthread + 276 14 libsystem_pthread.dylib 0x00000001d036777c start_wqthread + 8
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Reply to Force rotation not working properly
Dear Team, Thanks for quick reply. We tried UIViewController.setNeedsUpdateOfSupportedInterfaceOrientations() but not yet rotate the viewcontroller. we used below lines for force rotate while tap button action var landscape: UIInterfaceOrientationMask = .portrait override var supportedInterfaceOrientations: UIInterfaceOrientationMask { return landscape } func forceRotateToLandscape() { DispatchQueue.main.async { if #available(iOS 16.0, *) { self.landscape = .landscape self.setNeedsUpdateOfSupportedInterfaceOrientations() } else { // Fallback on earlier versions } } } func forceRotateToPortrait() { if #available(iOS 16.0, *) { self.landscape = .portrait setNeedsUpdateOfSupportedInterfaceOrientations() } else { // Fallback on earlier versions } } we supported portrait method for my entire app but we forcefully rotate landscape/portrait particular view controller only. Kindly do the needful
Topic: UI Frameworks SubTopic: UIKit
Mar ’25