Search results for

“Account Locked”

34,377 results found

Post

Replies

Boosts

Views

Activity

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
388
Jun ’24
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
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
261
Feb ’17
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
635
Nov ’23
Deactivate zoom/crop on lock screen background images
Hi there. I am a graphic designer and stuck with a stupid built in iOS problem. I enjoy creating background images for my lock screen and started to use typography in the designs, like quotes. I made the images in the exact pixel size my iPhone 16ProMax needs for full screen. In the photo app i can swipe through the images and they all fit precisely onto my screen. Now I want iOS to display those designs randomly on my lock screen. I create a new lock screen, choose „random“ and select the album in my camera roll. But as soon as those images are used as lock screens, they are randomly scaled and cropped without any visible logic behind it. Fun fact: When the images only show symmetrical shapes. they fit perfectly. As soon as type is on the JPG (or PNG) the scaling and repositioning starts. Any thoughts of how to get rid of this bug? The should be a simple button to deactivate random scaling. Or at least a „fit to screen“, as it won’t change anything if the images are made f
Topic: Design SubTopic: General
0
0
1.7k
May ’26
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
411
Aug ’20
Call Kit behaviors depending on lock state of the device.
Call Kit behaviors depending on lock state of the device.I am working a new iOS VOIP app and while an experienced iOS developer, I have not done VOIP in the past so a lot of this is new to me. I’m looking for clarification as to differences in how CallKit handles an incoming call depending on the lock state of the device and confirmation as to the reasoning behind it.My Assumption Based on ObservationIf my phone is locked and an incoming call is being handled by CallKit (as via my experience using WWDC’s Speakerbox demo) the user will see a system “Incoming Call” view with a “Slide to answer” widget. Upon sliding they will have an active audio connection with the caller and the UI will change to a view I’d call the “Active Call” view. This view presents a button to visit the app and potentially a video button if the app has advertised this as a video call. When the user taps the app or video button they are made to authenticate using a passcode or TouchID. Once authenticated they ar
Topic: UI Frameworks SubTopic: UIKit Tags:
6
0
7.1k
Jan ’17
Lock Screen Lag
I'm experiencing really bad lag times when swiping to open my phone. There are times where the screen will go to sleep and then when I swipe it again everything works fine. Is anyone else experiencing this?
2
0
656
Mar ’16
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
599
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
863
Oct ’19
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
388
Activity
Jun ’24
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
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
261
Activity
Feb ’17
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
635
Activity
Nov ’23
Deactivate zoom/crop on lock screen background images
Hi there. I am a graphic designer and stuck with a stupid built in iOS problem. I enjoy creating background images for my lock screen and started to use typography in the designs, like quotes. I made the images in the exact pixel size my iPhone 16ProMax needs for full screen. In the photo app i can swipe through the images and they all fit precisely onto my screen. Now I want iOS to display those designs randomly on my lock screen. I create a new lock screen, choose „random“ and select the album in my camera roll. But as soon as those images are used as lock screens, they are randomly scaled and cropped without any visible logic behind it. Fun fact: When the images only show symmetrical shapes. they fit perfectly. As soon as type is on the JPG (or PNG) the scaling and repositioning starts. Any thoughts of how to get rid of this bug? The should be a simple button to deactivate random scaling. Or at least a „fit to screen“, as it won’t change anything if the images are made f
Topic: Design SubTopic: General
Replies
0
Boosts
0
Views
1.7k
Activity
May ’26
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
411
Activity
Aug ’20
iOS 17: opt out of WidgetRenderingMode.vibrant / iPad Lock Screen
We don't have a suitable design for our widget for WidgetRenderingMode.vibrant as used on the iPad Lock Screen. Is there a way to opt out of having our widget available there? The iOS 17 photos widget seems to behave like this. It is available for iPhone StandBy, but not for iPad Lock Screen. This is the behaviour we want to have.
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’23
Call Kit behaviors depending on lock state of the device.
Call Kit behaviors depending on lock state of the device.I am working a new iOS VOIP app and while an experienced iOS developer, I have not done VOIP in the past so a lot of this is new to me. I’m looking for clarification as to differences in how CallKit handles an incoming call depending on the lock state of the device and confirmation as to the reasoning behind it.My Assumption Based on ObservationIf my phone is locked and an incoming call is being handled by CallKit (as via my experience using WWDC’s Speakerbox demo) the user will see a system “Incoming Call” view with a “Slide to answer” widget. Upon sliding they will have an active audio connection with the caller and the UI will change to a view I’d call the “Active Call” view. This view presents a button to visit the app and potentially a video button if the app has advertised this as a video call. When the user taps the app or video button they are made to authenticate using a passcode or TouchID. Once authenticated they ar
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
6
Boosts
0
Views
7.1k
Activity
Jan ’17
Lock Screen Lag
I'm experiencing really bad lag times when swiping to open my phone. There are times where the screen will go to sleep and then when I swipe it again everything works fine. Is anyone else experiencing this?
Replies
2
Boosts
0
Views
656
Activity
Mar ’16
Apple watched locked
I tried hard resetting Apple Watch multiple times and it still won’t erase all content on my Apple Watch I can’t even do it through my iPhone help please
Replies
0
Boosts
0
Views
205
Activity
Sep ’20
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
599
Activity
Mar ’17
App locks up at the log in screen about once a month.
My app locks up about once a month at the log in screen. Seems really slow at first, but then just freezes. We reset the web app, and it clears it up, but I would really like to find out the root cause, and fix it. Any suggestions?
Replies
2
Boosts
0
Views
494
Activity
Nov ’17
LockedCameraCapture - Lock Screen Camera Capture UI Question
After the session video, Build a great Lock Screen camera capture experience, was unclear about the UI. So do developers need to provide a whole new UI in the extension? The main UI cannot be repurposed?
Replies
27
Boosts
0
Views
3.7k
Activity
Jun ’24
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
863
Activity
Oct ’19