Search results for

“Account Locked”

32,725 results found

Post

Replies

Boosts

Views

Activity

LockedCameraCapture Does Not Launch The App from Lock Screen
My implementation of LockedCameraCapture does not launch my app when tapped from locked screen. But when the same widget is in the Control Center, it launches the app successfully. Standard Xcode target template: Lock_Screen_Capture.swift @main struct Lock_Screen_Capture: LockedCameraCaptureExtension { var body: some LockedCameraCaptureExtensionScene { LockedCameraCaptureUIScene { session in Lock_Screen_CaptureViewFinder(session: session) } } } Lock_Screen_CaptureViewFinder.swift: import SwiftUI import UIKit import UniformTypeIdentifiers import LockedCameraCapture struct Lock_Screen_CaptureViewFinder: UIViewControllerRepresentable { let session: LockedCameraCaptureSession var sourceType: UIImagePickerController.SourceType = .camera init(session: LockedCameraCaptureSession) { self.session = session } func makeUIViewController(context: Self.Context) -> UIImagePickerController { let imagePicker = UIImagePickerController() imagePicker.sourceType = sourceType imagePicker.mediaTypes = [UTType.image.iden
1
0
268
Oct ’25
SceneKit crash when simply locking then unlocking device
This crashes every time:Any app that uses a SCNView will crash when the device is locked then unlocked!Steps to Reproduce:-Launch Xcode-File / New / Project / Game / SceneKit (note this template app has no audio)-(objective C or Swift does not matter)-Run the app on your device-Lock then unlock the device-Crash (AVAudioEngineGraph - even though this app has no audio)I have filed a bug.iOS 10.1 does not fix the bug, as the crash still happens in iOS 10.1 beta 3 (14B71) released October 10, 2016Only workaround I have found is to allow background audio (even though no audio is playing!), but in my app I do have audio, and I don't want to allow background audio (otherwise I'd have to manage pausing/unpausing the audio).
5
0
1.7k
Oct ’16
Central Manager stops discover peripherals when device is locked
Hello everyone!I have an app which must broadcast and detect iOS devices using Core Bluetooth Central and Peripheral managers.It works pretty good in active mode Central Manager discover peripheral several times per second, in background mode (I have turned background modes for Central and Peripheral managers in Xcode settings) frequency of discovering became one time per two-three seconds.But problem comes up when device screen became locked. In that case Central Manager stops calling didDiscoverPeripheral even if I specify service UUID.Also, when screen unlocked Central Manager continue work in background mode.So, my questions are:What sate obtain application when users press lock button?Is there any way to make Central Manager to discover or connect to devices using their service UUID's?Is there is something I missed to turn on to make Central Manager work in locked screen mode?Is there any way to force Central Manager work with locked screen as in background mode?
7
0
3.8k
Jul ’15
Downgrading from Big Sur to Catalina - locked disc (?)
Greetings everyone, A few days ago I downloaded Big Sur to give it a try. As it is still in Beta it is really buggy at some points and I could not work on my art works, that is why I decided to go back to Catalina and wait until Big Sur will release. I used Option+Command+R to get in the recovery mode for Catalina version. I agreed to terms and when I needed to choose a disc - I could not do it because my disc was locked. How do I unlock that disc?
2
0
958
Jul ’20
URLSessionDownloadTask fails with error -997 as soon as I lock my device.
I'm getting aError Domain=NSURLErrorDomain Code=-997 Lost connection to background transfer servicewhen I lock my screen after starting a background download process. I'm using Alamofire but I assume this would happen on a regular URLSession as well (because internally Alamofire is using URLSession). The downloads continue to work if I soft close the app but as soon as I lock my device, it start throwing this error.The URLSession is created this way: let config = URLSessionConfiguration.background(withIdentifier: MySession) config.isDiscretionary = true config.sessionSendsLaunchEvents = true config.shouldUseExtendedBackgroundIdleMode = trueI looked at the Console to see if any daemon crashed but couldn't find any. I see three errors right after locking the screen:BKLogEvent: couldn't find CombinedSequence properties Task <>.<48> finished with error - code: -999 Task <>.<48> load failed with error Error Domain=NSURLErrorDomain Code=-997 Lost connection to back
7
0
10k
Mar ’19
Why we still don’t have a way in SwiftUI to lock interface orientation?
After 5 years, 6 releases, SwiftUI still miss fundamental feature, lock interface orientation by view (can be by container, modal, …). Many apps for iPhone just want portrait orientation but in some cases needed a modal in lanscape for a photo viewer or video player. Interface orientation options in info.plist just don’t work because will lock all views in the app.
Topic: UI Frameworks SubTopic: SwiftUI
0
0
376
Jun ’24
As a noob would like to know if we can track the lock and unlock status of the Iphone
Hello buddies, I'm after a clarification if we can track the lock and unlock status of the Iphone? and if so how? Doing this as part of an MVP for an app that needs to track the usage of the phone via lock/un-lock status. I read through all the licensing, security, developer guidelines from the Apple support I received, but I didn't find anything. Appreciate your help.
2
0
396
Aug ’20
File lock notification with read only
Hi All,We are facing a bit of an issue with a OSX environment. We have a 10.11 OSX server (with server app installed) and all MACsThe issue is when they access files from the OSX Share if one user had for example a word document or photoshop file open and a second user opened it they would get no warning and then could work on it and end up clicking save and overwriting the other persons work.What used to happen is they would get a warning pop up saying that the document is currently open and would give them an option to open it in read only mode.We think this stopped working shortly after we removed the windows server that the OSX was connected to the domain. However users cant pin it down.In short, can we get OSX to pop up this read only warning for all open network files if a second person tries to work on it?we have reinstalled the OS from scratch, tried AFP, SMB, both and we have managed to get a warning about the file being locked, but they used to have the option to open as read only. Any poin
0
0
252
Feb ’17
10-15 Main Thread Lock on Keyboard Presentation
Using a UITextView in a standard way, I am experiencing a 10-15 second main thread lock on becomeFirstResponder. In addition typing is sometimes effected and does not respond for a few seconds resulting and a spew of characters once the lock is released.I tried Stack Overflow with this, but because there is no real code involved, that went nowhere.I am into this issue over 10 hours and am scrambling to get some help to solve it.What I have is a stack trace from XCode and a stack trace from Instruments System Trace. System Trace shows that the lock on the main thread was released by an OS thread and not one of mine. Notice in the XCode trace that Thread 6 has enqueued some code to main thread and applied a semaphore wait. Attached are the stack traces.XCode Trace
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
586
Mar ’17
iOS 13.1.2 Carplay Complete lock up
Audi Q5 2018 Connected with cableCan connect to phone and make a phone call. Once Phone is connected and call is in play CarPlay control stops. Can not end Phone Call from Carplay. Have to revert to Phone itself. No up down controlls to access any Car Play features once lock up occurs.
1
0
853
Oct ’19
Lock screen media controls for MusicKit/ ApplicationMusicPlayer
Hi, when using ApplicationMusicPlayer from MusicKit my app automatically gets the media controls on the lock screen: Play/ Pause, Skip Buttons, Playback Position etc. I would like to customize these. Tried a bunch of things, e.g. using MPRemoteCommandCenter. So far I haven't had any success. Does anyone know how I can customize the media controls of ApplicationMusicPlayer. Thank you.
2
0
535
Aug ’25
Displaying captured image while device orientation is locked
Hello, I am creating an AR application that can be used on iPad and iPhone. While using it on iPhone, I am locking the Apps orientation in portrait mode. When taking a snapshot of the ARView while holding the iPhone in a landscape orientation, and displaying the taken image in a gallery view / Image View, the image is always rotated by 90°. Similarly, when the iPhone is held upside down, the displayed image is shown upside down. Is there a way to make sure that the image is displayed properly?
0
0
622
Nov ’23
macOS Gamecenter login failure causes system lock
I've found an issue that seems to be present across multiple titles i've tried so far. On macOS, launch a game without a game center Open the GameCenter Access Point overlay (or wait for an auto sign in prompt) Choose Sign in with another account Enter a valid AppleID email address Enter an incorrect password so the login fails The GC prompt then locks up, the password field can't be edited and the pop-up cannot be closed. Pressing cmd+Q does not close the application This occurs on multiple systems running macOS 12.3 but not on a system with macOS 11.3 Anyone else experienced this and found a workaround, or is the Gamecenter login just broken?
0
0
640
Apr ’22
LockedCameraCapture Does Not Launch The App from Lock Screen
My implementation of LockedCameraCapture does not launch my app when tapped from locked screen. But when the same widget is in the Control Center, it launches the app successfully. Standard Xcode target template: Lock_Screen_Capture.swift @main struct Lock_Screen_Capture: LockedCameraCaptureExtension { var body: some LockedCameraCaptureExtensionScene { LockedCameraCaptureUIScene { session in Lock_Screen_CaptureViewFinder(session: session) } } } Lock_Screen_CaptureViewFinder.swift: import SwiftUI import UIKit import UniformTypeIdentifiers import LockedCameraCapture struct Lock_Screen_CaptureViewFinder: UIViewControllerRepresentable { let session: LockedCameraCaptureSession var sourceType: UIImagePickerController.SourceType = .camera init(session: LockedCameraCaptureSession) { self.session = session } func makeUIViewController(context: Self.Context) -> UIImagePickerController { let imagePicker = UIImagePickerController() imagePicker.sourceType = sourceType imagePicker.mediaTypes = [UTType.image.iden
Replies
1
Boosts
0
Views
268
Activity
Oct ’25
SceneKit crash when simply locking then unlocking device
This crashes every time:Any app that uses a SCNView will crash when the device is locked then unlocked!Steps to Reproduce:-Launch Xcode-File / New / Project / Game / SceneKit (note this template app has no audio)-(objective C or Swift does not matter)-Run the app on your device-Lock then unlock the device-Crash (AVAudioEngineGraph - even though this app has no audio)I have filed a bug.iOS 10.1 does not fix the bug, as the crash still happens in iOS 10.1 beta 3 (14B71) released October 10, 2016Only workaround I have found is to allow background audio (even though no audio is playing!), but in my app I do have audio, and I don't want to allow background audio (otherwise I'd have to manage pausing/unpausing the audio).
Replies
5
Boosts
0
Views
1.7k
Activity
Oct ’16
Central Manager stops discover peripherals when device is locked
Hello everyone!I have an app which must broadcast and detect iOS devices using Core Bluetooth Central and Peripheral managers.It works pretty good in active mode Central Manager discover peripheral several times per second, in background mode (I have turned background modes for Central and Peripheral managers in Xcode settings) frequency of discovering became one time per two-three seconds.But problem comes up when device screen became locked. In that case Central Manager stops calling didDiscoverPeripheral even if I specify service UUID.Also, when screen unlocked Central Manager continue work in background mode.So, my questions are:What sate obtain application when users press lock button?Is there any way to make Central Manager to discover or connect to devices using their service UUID's?Is there is something I missed to turn on to make Central Manager work in locked screen mode?Is there any way to force Central Manager work with locked screen as in background mode?
Replies
7
Boosts
0
Views
3.8k
Activity
Jul ’15
Downgrading from Big Sur to Catalina - locked disc (?)
Greetings everyone, A few days ago I downloaded Big Sur to give it a try. As it is still in Beta it is really buggy at some points and I could not work on my art works, that is why I decided to go back to Catalina and wait until Big Sur will release. I used Option+Command+R to get in the recovery mode for Catalina version. I agreed to terms and when I needed to choose a disc - I could not do it because my disc was locked. How do I unlock that disc?
Replies
2
Boosts
0
Views
958
Activity
Jul ’20
What methods can determine the user leaves the computer, and then lock the computer
What methods can determine the user leaves the computer, and then lock the computer. For example windows' C++ method GetLastInputInfo()
Replies
6
Boosts
0
Views
717
Activity
Nov ’15
URLSessionDownloadTask fails with error -997 as soon as I lock my device.
I'm getting aError Domain=NSURLErrorDomain Code=-997 Lost connection to background transfer servicewhen I lock my screen after starting a background download process. I'm using Alamofire but I assume this would happen on a regular URLSession as well (because internally Alamofire is using URLSession). The downloads continue to work if I soft close the app but as soon as I lock my device, it start throwing this error.The URLSession is created this way: let config = URLSessionConfiguration.background(withIdentifier: MySession) config.isDiscretionary = true config.sessionSendsLaunchEvents = true config.shouldUseExtendedBackgroundIdleMode = trueI looked at the Console to see if any daemon crashed but couldn't find any. I see three errors right after locking the screen:BKLogEvent: couldn't find CombinedSequence properties Task <>.<48> finished with error - code: -999 Task <>.<48> load failed with error Error Domain=NSURLErrorDomain Code=-997 Lost connection to back
Replies
7
Boosts
0
Views
10k
Activity
Mar ’19
Why we still don’t have a way in SwiftUI to lock interface orientation?
After 5 years, 6 releases, SwiftUI still miss fundamental feature, lock interface orientation by view (can be by container, modal, …). Many apps for iPhone just want portrait orientation but in some cases needed a modal in lanscape for a photo viewer or video player. Interface orientation options in info.plist just don’t work because will lock all views in the app.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
0
Boosts
0
Views
376
Activity
Jun ’24
As a noob would like to know if we can track the lock and unlock status of the Iphone
Hello buddies, I'm after a clarification if we can track the lock and unlock status of the Iphone? and if so how? Doing this as part of an MVP for an app that needs to track the usage of the phone via lock/un-lock status. I read through all the licensing, security, developer guidelines from the Apple support I received, but I didn't find anything. Appreciate your help.
Replies
2
Boosts
0
Views
396
Activity
Aug ’20
File lock notification with read only
Hi All,We are facing a bit of an issue with a OSX environment. We have a 10.11 OSX server (with server app installed) and all MACsThe issue is when they access files from the OSX Share if one user had for example a word document or photoshop file open and a second user opened it they would get no warning and then could work on it and end up clicking save and overwriting the other persons work.What used to happen is they would get a warning pop up saying that the document is currently open and would give them an option to open it in read only mode.We think this stopped working shortly after we removed the windows server that the OSX was connected to the domain. However users cant pin it down.In short, can we get OSX to pop up this read only warning for all open network files if a second person tries to work on it?we have reinstalled the OS from scratch, tried AFP, SMB, both and we have managed to get a warning about the file being locked, but they used to have the option to open as read only. Any poin
Replies
0
Boosts
0
Views
252
Activity
Feb ’17
Reply to How to install Tensorflow on the Apple M1 Notebook
I got locked out of my Apple account for a month - I can't remember why, but I've only just got back in. Meanwhile, I've managed to get Tensorflow working on a MacPro M1 - NO THANKS TO APPLE. Details here: https://stackoverflow.com/questions/56604348/how-to-install-tensorflow-2-0-on-mac-or-linux/68634948#68634948
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
10-15 Main Thread Lock on Keyboard Presentation
Using a UITextView in a standard way, I am experiencing a 10-15 second main thread lock on becomeFirstResponder. In addition typing is sometimes effected and does not respond for a few seconds resulting and a spew of characters once the lock is released.I tried Stack Overflow with this, but because there is no real code involved, that went nowhere.I am into this issue over 10 hours and am scrambling to get some help to solve it.What I have is a stack trace from XCode and a stack trace from Instruments System Trace. System Trace shows that the lock on the main thread was released by an OS thread and not one of mine. Notice in the XCode trace that Thread 6 has enqueued some code to main thread and applied a semaphore wait. Attached are the stack traces.XCode Trace
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
586
Activity
Mar ’17
iOS 13.1.2 Carplay Complete lock up
Audi Q5 2018 Connected with cableCan connect to phone and make a phone call. Once Phone is connected and call is in play CarPlay control stops. Can not end Phone Call from Carplay. Have to revert to Phone itself. No up down controlls to access any Car Play features once lock up occurs.
Replies
1
Boosts
0
Views
853
Activity
Oct ’19
Lock screen media controls for MusicKit/ ApplicationMusicPlayer
Hi, when using ApplicationMusicPlayer from MusicKit my app automatically gets the media controls on the lock screen: Play/ Pause, Skip Buttons, Playback Position etc. I would like to customize these. Tried a bunch of things, e.g. using MPRemoteCommandCenter. So far I haven't had any success. Does anyone know how I can customize the media controls of ApplicationMusicPlayer. Thank you.
Replies
2
Boosts
0
Views
535
Activity
Aug ’25
Displaying captured image while device orientation is locked
Hello, I am creating an AR application that can be used on iPad and iPhone. While using it on iPhone, I am locking the Apps orientation in portrait mode. When taking a snapshot of the ARView while holding the iPhone in a landscape orientation, and displaying the taken image in a gallery view / Image View, the image is always rotated by 90°. Similarly, when the iPhone is held upside down, the displayed image is shown upside down. Is there a way to make sure that the image is displayed properly?
Replies
0
Boosts
0
Views
622
Activity
Nov ’23
macOS Gamecenter login failure causes system lock
I've found an issue that seems to be present across multiple titles i've tried so far. On macOS, launch a game without a game center Open the GameCenter Access Point overlay (or wait for an auto sign in prompt) Choose Sign in with another account Enter a valid AppleID email address Enter an incorrect password so the login fails The GC prompt then locks up, the password field can't be edited and the pop-up cannot be closed. Pressing cmd+Q does not close the application This occurs on multiple systems running macOS 12.3 but not on a system with macOS 11.3 Anyone else experienced this and found a workaround, or is the Gamecenter login just broken?
Replies
0
Boosts
0
Views
640
Activity
Apr ’22