Post

Replies

Boosts

Views

Activity

Force rotation not working properly
We rotate the portrait to landscape then we force rotate to portrait app rotates but the screen seems to be divided into two parts My sample code class OrientationHelper { static func lockOrientation(_ orientation: UIInterfaceOrientationMask) { if let delegate = UIApplication.shared.delegate as? AppDelegate { delegate.orientationLock = orientation } } static func lockOrientation(_ orientation: UIInterfaceOrientationMask, andRotateTo rotateOrientation: UIInterfaceOrientation) { self.lockOrientation(orientation) DispatchQueue.main.async { UIDevice.current.setValue(rotateOrientation.rawValue, forKey: "orientation") UIViewController.attemptRotationToDeviceOrientation() } } } // Appdelegte var orientationLock = UIInterfaceOrientationMask.portrait func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask { return orientationLock }
1
0
106
1d
EXC_BAD_ACCESS (SIGBUS) crash in xcode12
Thread 16 Crashed: 0 libobjc.A.dylib 0x00000001b34d71c8 0x1b34d5000 + 8648 (objc_msgSend + 8) 1 CoreFoundation 0x000000019eaab688 0x19e955000 + 1402504 (redacted + 976) 2 CoreFoundation 0x000000019eaaf64c 0x19e955000 + 1418828 (redacted + 2412) 3 CoreFoundation 0x000000019e9c1300 0x19e955000 + 443136 (CFDictionaryRemoveValue + 300) 4 CoreData 0x00000001a4b7e4e4 0x1a4b35000 + 300260 (redacted + 124) 5 CoreData 0x00000001a4b5da30 0x1a4b35000 + 166448 (redacted + 860) 6 CoreData 0x00000001a4c7e7a8 0x1a4b35000 + 1349544 (redacted + 72) 7 CoreData 0x00000001a4c74754 0x1a4b35000 + 1308500 (redacted + 164) 8 libdispatch.dylib 0x000000019e66b7ec 0x19e667000 + 18412 (redacted + 20) 9 libdispatch.dylib 0x000000019e672fd4 0x19e667000 + 49108 (redacted + 620) 10 libdispatch.dylib 0x000000019e673bd0 0x19e667000 + 52176 (redacted + 404) 11 libdispatch.dylib 0x000000019e67e48c 0x19e667000 + 95372 (redacted + 764) 12 libsystem_pthread.dylib 0x00000001ea5b67a4 0x1ea5b3000 + 14244 (_pthread_wqthread + 276)
0
0
548
May ’21
CrashDoctor Diagnosis: Attempted to dereference garbage pointer 0xb338740acf3dc9.
We have updated latest build via xcode12.4 after we faced CrashDoctor Diagnosis: Attempted to dereference garbage pointer 0xb338740acf3dc9 crashes.this crashes frequently for ios14 devices We have added our app crash logs details here.Kindly check and update Previously we used xcode 11.7 Logs - https://developer.apple.com/forums/content/attachment/fe7d4bab-1b34-4900-995b-055468770e65
0
0
1.3k
May ’21