Search results for

“Account Locked”

32,725 results found

Post

Replies

Boosts

Views

Activity

How to disable/hide Audio Controls on lock screen from WkWebView
Hi, I am trying to remove the audio controls for my app on the lock screen. Since I use WKWebView, there are 3 audio tags in my html and I play and pause em via JS. However, if I do not play any sound since app launch, there are no audio controls on the lock screen. But if I play one of those 3 files (they are even less then 3 Sec sound effects e.g. for buttons) the audio controls appears on lock screen. Note even when the sounds on pause() or not playing they were listed on the lock screen. What I have tried so far without success MPNowPlayingInfoCenter.default().nowPlayingInfo = [:] and ``try audioSession.setCategory(.playback, mode: .default, options: []) try audioSession.setActive(false, options: .notifyOthersOnDeactivation)`` and UIApplication.shared.endReceivingRemoteControlEvents() Another problem is that the app scales with iOS system settings display zoom. Is there a way to deny it? It is latest Xcode verion 16.3 and iOS 18. I have no background mode in my Capabili
2
0
136
May ’25
Lock Screen Notifications - Swipe to open removed?
Is the change to notifications on lock screen intentional? I can no longer swipe a notification to go directly to that app. For example, received a iMessage, now I can only use 3D Touch to open the popup method, or I have to unlock and go to message and open the message. iOS 10 you could swipe the notifcation and go directly to the message. Same applies for other apps - yelp, messenger, facebook, twitter, etc.
4
0
5.4k
Jun ’17
Adding GitHub account to Xcode Accounts
I am attempting to add my GitHub account to Xcode. However, when I go to add my account, I get the error Your account or token is incorrect. I've changed my GitHub password multiple times and it no matter what, I still get this error. Is there anything else I can do to get this up and running? Thank you!
2
0
2.8k
Jan ’21
Any way to implement a lock in Metal Shader Language?
HI - I'm trying to implement a Barnes-Hut N-Body simulation code in Metal. The code requires construction of a tree. The CUDA implementation uses locks to allow insertion of new nodes into the tree. I've tried using an array of atomic ints in a test case, but this doesn't seem to work: kernel void binning_compute_function( device MyArgument *arg1 [[ buffer(0)]], constant float *ranarr [[ buffer(1) ]], device volatile atomic_int *flagArr [[ buffer(2) ]], device int *bins [[buffer(3)]], uint index [[ thread_position_in_grid ]]) { int expected=0; int ibin = (ranarr[index] * arg1->nbins); for (int i = 0; i < 100000000; i++) { // Lock expected = 0; bool test = !atomic_compare_exchange_weak_explicit(&flagArr[ibin],&expected,1,memory_order_relaxed,memory_order_relaxed); if (test) { bins[ibin] += 1; atomic_store_explicit(&flagArr[ibin], 0, memory_order_relaxed); break; } } } Any other suggestions? The alternative is to use the CPU for this, but seems a shame to miss out on the proc
3
0
1.2k
Jul ’22
Mouse driver locks up MacOS 13.7.6
Every week or so, mouse driver locks up. The LED laser goes out and none of the buttons operate. It's a generic 7 button USB mouse with my USB keyboard still active. I do not know what precipitates the lockup and a system diagnostic request (Sft-Alt-Ctl-Cmd .) does not seem to yield anything useful. > ps -ef|grep -i mouse 501 579 1 0 Mon01PM ?? 0:04.42 /System/Library/ExtensionKit/Extensions/MouseExtension.appex/Contents/MacOS/MouseExtension code-block so the mouse extension was running at the time. With a sudo kill -HUP 579 it did not restart. Also, switching to a different mouse did no good. The mouse driver was behaving like it was deadlocked and I didn't know the correct incantation for restarting it. I power cycle reset the box. SO: you have a mouse driver problem it cannot be just me It behaves like a deadlock, but not knowing how to get a mouse driver dump, I cannot tell what lock(s) its waiting for.
4
0
163
Aug ’25
Siri can’t place calls while device is locked
Hello, I’m developing a third-party VoIP app called Heyno and trying to support Siri-initiated calls so they behave like WhatsApp / FaceTime, especially from the lock screen. Target behavior From the locked device, the user says: “Hey Siri, call using Heyno” Expected result: • System CallKit audio-call UI appears. • No “continue in ” sheet, no forced unlock or foregrounding. • Our app handles the VoIP leg in the background via CXProviderDelegate. WhatsApp already does this with: “Hey Siri, call on WhatsApp” I’m trying to reproduce that behavior for Heyno using public APIs. I have followed the SiriKit + CallKit VoIP docs but cannot get a clean Siri → CallKit → app flow from the lock screen without either: Being forced into .continueInApp (unlock + foreground), or Hitting CallKit transaction errors when starting the call from the app in response to the intent. Current implementation Intents extension (INStartCallIntentHandling) • resolveContacts(for:with:) normalizes to E.164 and re
0
0
330
Nov ’25
RealityView content disappears when selecting Lock In Place on visionOS
Hi, I'm experiencing an issue where all RealityView content disappears when the user selects Lock In Place from the window management menu (long press on close button). Follow Me works correctly and this happens in Testflight builds only not reproducible when I run locally I have reproduced this with a minimal project containing nothing but a simple red cube — no custom anchors, no app state, no dependencies. Steps to Reproduce: Open an ImmersiveSpace. A red cube is placed 1m in front of the user via RealityView. Long press the X button on any floating window Select Lock In Place. The cube disappears immediately. Expected: Cube remains visible after window is locked Actual: Cube disappears. Minimal reproducible code: var body: some View { RealityView { content in let cube = ModelEntity( mesh: .generateBox(size: 0.3), materials: [SimpleMaterial(color: .red, isMetallic: false)] ) cube.setPosition(SIMD3(0, 1.5, -1), relativeTo: nil) content.add(cube) } } } Device: Apple Vision Pro visi
3
0
502
2w
Finder File Previews lock files on SMB shares
I've developed a new Quicklook data-based preview extension for a custom file type that generates an image preview of the file. I previously used a Quick Look generator plug-in but support for it was deprecated and now removed in macOS Sequoia. My app opens files using a open(url.path, O_RDWR | O_NONBLOCK | O_EXLOCK) call. The locking flags are used to prevent other clients from writing the file if it's already open. I discovered that when Finder is showing the “large” file previews (such as when in column or gallery modes) from a SMB share, the open call fails with EWOULDBLOCK as if the file is locked. It does work just fine on local files. Opening with O_SHLOCK also has the issue. Surprisingly it does work just fine for previews that return Plain Text data instead of Image data. Using the lsof command, it seems like the Quicklook process has some kind of lock on the file. This is the output of the lsof command: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE QuickLook 48487 XXXX txt
8
0
795
Dec ’24
Email notification on Lock Screen not appearing
Using the native email ios mail app iPhone 16 pro. When an email arrives the phone will ding or vibrate, but the message notification doesn't appear on lock screen. If you touch the screen from dim to wake then scroll up, the email notification does appear. If the phone is open the notification also appears at the top of screen as it's meant to do. This started yesterday with iOS 18.2 beta 1. It was not resolved with the new update.
4
0
2.0k
Nov ’24
iOS 10 Lock screen notifications design
Just my 2 cents on the design of the iOS10 lock screen notifications: Yuck!I really hope they revert that design and go back to the current iOS9 style notifiations. Way too bright on a dark wallpaper. Some translucency would resolve the issue, combined with a notification background colour that matches the wallpaper.
8
0
1.3k
Jun ’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
How to disable/hide Audio Controls on lock screen from WkWebView
Hi, I am trying to remove the audio controls for my app on the lock screen. Since I use WKWebView, there are 3 audio tags in my html and I play and pause em via JS. However, if I do not play any sound since app launch, there are no audio controls on the lock screen. But if I play one of those 3 files (they are even less then 3 Sec sound effects e.g. for buttons) the audio controls appears on lock screen. Note even when the sounds on pause() or not playing they were listed on the lock screen. What I have tried so far without success MPNowPlayingInfoCenter.default().nowPlayingInfo = [:] and ``try audioSession.setCategory(.playback, mode: .default, options: []) try audioSession.setActive(false, options: .notifyOthersOnDeactivation)`` and UIApplication.shared.endReceivingRemoteControlEvents() Another problem is that the app scales with iOS system settings display zoom. Is there a way to deny it? It is latest Xcode verion 16.3 and iOS 18. I have no background mode in my Capabili
Replies
2
Boosts
0
Views
136
Activity
May ’25
Lock Screen Notifications - Swipe to open removed?
Is the change to notifications on lock screen intentional? I can no longer swipe a notification to go directly to that app. For example, received a iMessage, now I can only use 3D Touch to open the popup method, or I have to unlock and go to message and open the message. iOS 10 you could swipe the notifcation and go directly to the message. Same applies for other apps - yelp, messenger, facebook, twitter, etc.
Replies
4
Boosts
0
Views
5.4k
Activity
Jun ’17
Wish List: Auto LOCK macOS using Watch
macOS Sierra allows to be unlocked using an Apple Watch, but, as long as I know, it isn't locked when the watch moves away. Is there a way to enable such functionality? Or, how could I suggest it?
Replies
1
Boosts
0
Views
343
Activity
Sep ’16
Adding GitHub account to Xcode Accounts
I am attempting to add my GitHub account to Xcode. However, when I go to add my account, I get the error Your account or token is incorrect. I've changed my GitHub password multiple times and it no matter what, I still get this error. Is there anything else I can do to get this up and running? Thank you!
Replies
2
Boosts
0
Views
2.8k
Activity
Jan ’21
Any way to implement a lock in Metal Shader Language?
HI - I'm trying to implement a Barnes-Hut N-Body simulation code in Metal. The code requires construction of a tree. The CUDA implementation uses locks to allow insertion of new nodes into the tree. I've tried using an array of atomic ints in a test case, but this doesn't seem to work: kernel void binning_compute_function( device MyArgument *arg1 [[ buffer(0)]], constant float *ranarr [[ buffer(1) ]], device volatile atomic_int *flagArr [[ buffer(2) ]], device int *bins [[buffer(3)]], uint index [[ thread_position_in_grid ]]) { int expected=0; int ibin = (ranarr[index] * arg1->nbins); for (int i = 0; i < 100000000; i++) { // Lock expected = 0; bool test = !atomic_compare_exchange_weak_explicit(&flagArr[ibin],&expected,1,memory_order_relaxed,memory_order_relaxed); if (test) { bins[ibin] += 1; atomic_store_explicit(&flagArr[ibin], 0, memory_order_relaxed); break; } } } Any other suggestions? The alternative is to use the CPU for this, but seems a shame to miss out on the proc
Replies
3
Boosts
0
Views
1.2k
Activity
Jul ’22
Mouse driver locks up MacOS 13.7.6
Every week or so, mouse driver locks up. The LED laser goes out and none of the buttons operate. It's a generic 7 button USB mouse with my USB keyboard still active. I do not know what precipitates the lockup and a system diagnostic request (Sft-Alt-Ctl-Cmd .) does not seem to yield anything useful. > ps -ef|grep -i mouse 501 579 1 0 Mon01PM ?? 0:04.42 /System/Library/ExtensionKit/Extensions/MouseExtension.appex/Contents/MacOS/MouseExtension code-block so the mouse extension was running at the time. With a sudo kill -HUP 579 it did not restart. Also, switching to a different mouse did no good. The mouse driver was behaving like it was deadlocked and I didn't know the correct incantation for restarting it. I power cycle reset the box. SO: you have a mouse driver problem it cannot be just me It behaves like a deadlock, but not knowing how to get a mouse driver dump, I cannot tell what lock(s) its waiting for.
Replies
4
Boosts
0
Views
163
Activity
Aug ’25
iOS 16 Home/Lock Screens disables wallpaper choice
Tried the Home/Lock Screen option in iOS 16; decided it is not for me but now cannot simply choose a new Home and Lock from my photos (or whatever). Anyone know how to restore without a complete iOS reinstall? Thanks
Replies
2
Boosts
0
Views
687
Activity
Jun ’22
need file/record locking for master database
I'm establishing a Muti-user database that will be updated by lan based stations as well as many in the field. That means at the least file & record locking. What's the best solution to have this solution through Macs and iPhones ? Is this going to take a Linux server with an SQL database or is there an apple solution ?
Replies
1
Boosts
0
Views
616
Activity
Mar ’21
Siri can’t place calls while device is locked
Hello, I’m developing a third-party VoIP app called Heyno and trying to support Siri-initiated calls so they behave like WhatsApp / FaceTime, especially from the lock screen. Target behavior From the locked device, the user says: “Hey Siri, call using Heyno” Expected result: • System CallKit audio-call UI appears. • No “continue in ” sheet, no forced unlock or foregrounding. • Our app handles the VoIP leg in the background via CXProviderDelegate. WhatsApp already does this with: “Hey Siri, call on WhatsApp” I’m trying to reproduce that behavior for Heyno using public APIs. I have followed the SiriKit + CallKit VoIP docs but cannot get a clean Siri → CallKit → app flow from the lock screen without either: Being forced into .continueInApp (unlock + foreground), or Hitting CallKit transaction errors when starting the call from the app in response to the intent. Current implementation Intents extension (INStartCallIntentHandling) • resolveContacts(for:with:) normalizes to E.164 and re
Replies
0
Boosts
0
Views
330
Activity
Nov ’25
RealityView content disappears when selecting Lock In Place on visionOS
Hi, I'm experiencing an issue where all RealityView content disappears when the user selects Lock In Place from the window management menu (long press on close button). Follow Me works correctly and this happens in Testflight builds only not reproducible when I run locally I have reproduced this with a minimal project containing nothing but a simple red cube — no custom anchors, no app state, no dependencies. Steps to Reproduce: Open an ImmersiveSpace. A red cube is placed 1m in front of the user via RealityView. Long press the X button on any floating window Select Lock In Place. The cube disappears immediately. Expected: Cube remains visible after window is locked Actual: Cube disappears. Minimal reproducible code: var body: some View { RealityView { content in let cube = ModelEntity( mesh: .generateBox(size: 0.3), materials: [SimpleMaterial(color: .red, isMetallic: false)] ) cube.setPosition(SIMD3(0, 1.5, -1), relativeTo: nil) content.add(cube) } } } Device: Apple Vision Pro visi
Replies
3
Boosts
0
Views
502
Activity
2w
Finder File Previews lock files on SMB shares
I've developed a new Quicklook data-based preview extension for a custom file type that generates an image preview of the file. I previously used a Quick Look generator plug-in but support for it was deprecated and now removed in macOS Sequoia. My app opens files using a open(url.path, O_RDWR | O_NONBLOCK | O_EXLOCK) call. The locking flags are used to prevent other clients from writing the file if it's already open. I discovered that when Finder is showing the “large” file previews (such as when in column or gallery modes) from a SMB share, the open call fails with EWOULDBLOCK as if the file is locked. It does work just fine on local files. Opening with O_SHLOCK also has the issue. Surprisingly it does work just fine for previews that return Plain Text data instead of Image data. Using the lsof command, it seems like the Quicklook process has some kind of lock on the file. This is the output of the lsof command: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE QuickLook 48487 XXXX txt
Replies
8
Boosts
0
Views
795
Activity
Dec ’24
Email notification on Lock Screen not appearing
Using the native email ios mail app iPhone 16 pro. When an email arrives the phone will ding or vibrate, but the message notification doesn't appear on lock screen. If you touch the screen from dim to wake then scroll up, the email notification does appear. If the phone is open the notification also appears at the top of screen as it's meant to do. This started yesterday with iOS 18.2 beta 1. It was not resolved with the new update.
Replies
4
Boosts
0
Views
2.0k
Activity
Nov ’24
iOS 10 Lock screen notifications design
Just my 2 cents on the design of the iOS10 lock screen notifications: Yuck!I really hope they revert that design and go back to the current iOS9 style notifiations. Way too bright on a dark wallpaper. Some translucency would resolve the issue, combined with a notification background colour that matches the wallpaper.
Replies
8
Boosts
0
Views
1.3k
Activity
Jun ’16
iOs 10.3.2 keyboard click and lock sound gone
Anyone else experciencing sound problems with iOS 10.3.2b1 ?No keyboard click and lock sounds anymore on my iPhone 6SMusic plays fine en telephone rings like normal.
Replies
3
Boosts
0
Views
1.6k
Activity
Apr ’17
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