Search results for

Account Locked

31,797 results found

Post

Replies

Boosts

Views

Activity

Change screen lock controls at runtime
My app is divided into two modules. For first module, even after screen lock the audio should play and the locked screen should show details related to media content. However, in the second module no special requirement is there. The audio should be stopped as soon as the screen is locked and no controls should be visible on the locked screen.For first module, I wrote the following piece of codeIn my appdelegate I implemented:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { MPRemoteCommandCenter *rcc = [MPRemoteCommandCenter sharedCommandCenter]; [[rcc skipForwardCommand] setEnabled:NO]; [[rcc skipBackwardCommand] setEnabled:NO]; [[rcc nextTrackCommand] setEnabled:NO]; [[rcc previousTrackCommand] setEnabled:NO]; [[rcc skipForwardCommand] setEnabled:NO]; [[rcc skipBackwardCommand] setEnabled:NO]; rcc.playCommand.enabled = YES; rcc.pauseCommand.enabled = YES; [[MPRemoteCommandCenter sharedCommandCenter].playCommand
0
0
1k
May ’17
Is it possible to launch an app while the device is locked?
I am trying to debug some data protection issues I have been having and I am trying to test all sorts of recovery scenarios but one case that I cannot figure out how to run is that of the app launching in the background while the device is locked. Whether it be a standard launching of the application or launching from Background Fetch mode, XCode requires the device to be unlocked. Is there anyway to test this scenario? I have done some research and found that I could setup a BTLE or iBeacon event to launch the app on some event, which would achieve the launching of the app while the device is locked, but that is a lot of work just to get that up and running.So I ask you, developer community, anyone figure out an easier way to launch an app while the phone is locked? I dont care about attaching a debugger as much as I care about actually getting the app to launch without having to wait for random background fetches to execute.Thanks!
0
0
378
Mar ’16
Caps lock reporting behavior
I am developing a bluetooth keyboard and I have the following question. This might be more appropriate for the HID people to answer.Traditionally when caps lock is pressed on a pc , an hid report is sent from host to the device to enable/ disable the keyboards led. Ie the leds are managed by the host in order to avoid confusion when multiple keyboards are connected. It seems that macOS only sends a turn off led report rather than both an on and off. Is this the desired behavior?Thank you,Yiangos
0
0
569
Sep ’17
Picture in Picture stops audio when phone locked
AVPlayerViewController has the functionality to keep playing the audio when the app is backgrounded or the device is locked. Obviously picture in picture improves this when the app is backgrounded but we lose the functionality when the device is locked as it stops the audio. The user can hit play on the lock-screen to continue playing but doesn't seem to be ideal. Is there any way around this or is the expected behaviour?
3
0
3.1k
Oct ’20
BLE Scanning stops when phone is in locked mode
I have a solution where my application should scan the Bluetooth enabled Beacon devices in the foreground, background, locked mode for the iphone. Currently we have built the project, which is working fine in foreground mode. We have tried exploring multiple options to enable the feature in background and locked mode. As of now, we have come up with the solution which implements Picture in Picture mode in the application and once the application is minimized. The PIP window opens which solves our problem. But the problem stays with locked mode. The scanning is not working in locked mode. So can we know how the bluetooth scanning will work in background and locked mode. Please also mention the alternative solutions to the problem statement if background and locked mode scanning is not possible. I have attached the project source code for reference. This project is being built for Google, so it is bit urgent. Can I expect a quick response to this query?
4
0
975
Sep ’24
App being launched while device is locked
DESCRIPTION OF PROBLEM Logs and data from our application indicate various errors that strongly suggest that our application is being launched in a state in which the device is likely locked. We are looking for guidance on how to identify, debug, reproduce, and fix these cases. Our application does not use any of the common mechanisms for background activity, such as Background App Refresh, Navigation, Audio, etc. Errors we get in our logs such as authorization denied (code: 23) when trying to access a file in our app's container on disk (a simple disk cache for data our application uses) strongly suggest that the device is operating in a state, such as being locked, where our application lacks the requisite permissions it would normally have during operation. Furthermore, attempts to access authentication information stored in the keychain also fails. We use kSecAttrAccessibleWhenUnlocked when accessing items we store in the keychain. We have investigated Prewarming, as well as our notifica
1
0
523
Jan ’25
Picture in Picture stops audio when phone locked
AVPlayerViewController has the functionality to keep playing the audio when the app is backgrounded or the device is locked. Obviously picture in picture improves this when the app is backgrounded but we lose the functionality when the device is locked as it stops the audio. The user can hit play on the lock-screen to continue playing but doesn't seem to be ideal. Is there any way around this or is the expected behaviour?
1
0
815
Oct ’20
Key Logging Under Catalina While Locked
Hi!My app wants to intercept/receive user keystrokes while the app is running and the macOS computer is locked. However, when the computer is locked, my code receives the first keystroke by the user, then the login window appears, and then even if the login window disappears the code does not receive any subsequent keystroke from the user. Only when the computer is unlocked and then locked again does my app receive any subsequent keystroke from the user.This behavior was not present on Mojave or High Sierra.Is this a Catalina security policy? No error is provided - my code is using IOKit routines to setup callbacks to receive user keypresses. I have attempted to reinitialize all the IOKit objects/callbacks while in the background but that did not result in my app receiving subsequent keystrokes.My app doesn't record the keys - it only notes the time at which it's told a key was pressed.Thanks,Karl
0
0
429
Jan ’20
Locked out of Advanced Capabilities
I'm a card carying Developer, have been for 4 years now without lapse. So why is it telling me I can't access the Advanced Capabilities such as Push Notifications and iCloud?This happened after Xcode 7.3 crashed and rebooted. Now it won't accept my account. Rebooted my Mac, rebooted Xcode, removed and readded my account. No secondary account to attepmt (not rich like that, haven't had an app hit the top 5 yet and only working on a simple enterprise app).Anyone have a solution? I kind of need Push Notifications the most. Nothing else seams affected that I can see.
4
0
669
Jan ’16
How to detect if an app is locked by the user in iOS 18
Hi, My app features its own lock screen secured by Face ID or Touch ID. With the introduction of the locked app feature in iOS 18, I want to ensure that users do not experience duplicate lock screens. Could you please advise on how to detect if the locked app feature is enabled in iOS 18, so I can disable my app's internal lock screen when necessary? Thank you!
1
0
584
Jun ’24
Lock content behind login system
Hey everyone,just a quick question - are you allowed to lock content behind a login system without any possibility to sign - up?The section is supposed to be only for a group of members, which must not be paid, but not available to everyone at the same time, so we can´t use IAP purchase to lock the content. We would just verify the user is allowed to enter the section by asking for already existing login credentials. At no points in the app we would point on how to get access to that area.Kind regards, appstasy
1
0
480
May ’17
Can I lock iPad in iOS application made by me?
Hello guys. I am novice developer and I am developing own iPad management application. I need this functions. lock my iPad on time (I found some features that Apple suggested. for example, guided access. but I don't know that In my app, Can I control this function? or I need other ways to lock my iPad on time.) 2. Application that cannot be turned off Can I develop application that cannot be turned off in without developer's permission? I need an iPad manager application that can control the usage of the iPad. Thank to you reading a my writing.
1
0
936
Aug ’20
Mark reminders as completed on lock screen
I like iOS 10 for the most part but I use reminders quite a bit and have noticed with the new lock screen in iOS 10 that I can't mark reminders completed. I can only hit view or clear. View requires me to log in to my phone and clear only clears the notification. Does anyone know of a way to mark reminders completed on the lock screen?This happens on my iPhone 6 only for some reason. I also have an iPhone 5 and don't have that problem, it's displaying the normal options (Mark as Completed | Remind me in 1 Hour | Clear)Any help would be welcome.Thanks
3
0
5.1k
Aug ’16