Search results for

“Account Locked”

36,238 results found

Post

Replies

Boosts

Views

Activity

iOS Background Bluetooth: BLE scanning when iPhone is locked
I am looking for someone from the team at Apple to help me with a bluetooth issue we are experiencing. I am part of a team that is building a product line with a bluetooth device that requires us to use background bluetooth scanning. The device sends BLE packets periodically and the phone receives these packets and sends the data to our DB. We were able to get background bluetooth packets receiving (although sporadically) on the phone. However we cannot receive any packets while the app is backgrounded and the phone is locked. So my question is two fold: This is more critical: Is there any way to allow scanning while the app is backgrounded and the phone is locked? This is secondary: Is there anyway to make background scanning more reliable/predictable so that we can get consistent readings in the background
7
0
16k
Jul ’20
Lock widget for pro-users
Hi, I have added widgets to my iOS app and I would like to make this feature only accessible to pro users that have made a non-consumable in-app purchase. Currently, I am doing the following: I store an isUnlocked property in the Keychain after the purchase is made I read data to be displayed in the widget and here I also query the Keychain and store whether the widget is unlocked I have no refresh policy, but only change the widget data on a significant time change a different view is displayed when the app is locked Some dummy code snippets: func getTimeline(in context: Context, completion: @escaping (Timeline) -> Void) { ttlet entry = readContents() ttlet timeline = Timeline(entries: [entry], policy: .never) ttcompletion(timeline) } struct WidgetEntryView: View { ttlet entry: Provider.Entry @Environment(.widgetFamily) var family @ViewBuilder var body: some View { switch family { case .systemSmall: if !entry.isUnlocked { LockedWidgetView() } else if let event = entry.event { SmallWidgetEventView
7
0
3.8k
Oct ’20
ios 11 app lock issue
Anyone else getting an error on ios 11 devices when trying to remove a single app mode payload when you have certain settings disabled in the restrictions payloadFor example:1. install restrictions payload with camera disabled, and single app mode locked to an app on the device2. remove the single app mode payload and resend the profile to the deviceThis will result in the following error: The payload contains a restriction that conflicts with an installed Single App Mode payloadWe have found you cannot remove a single app payload when the following restrictions are disabledAllow use of cameraAllow use of FaceTimeAllow use of iMessageAllow installing apps using Apple Configurator and iTunesAllow installing apps using app storeAllow Game CenterAllow iCloud document syncAllow pairing with Apple WatchAllow use of iTunes storeAllow use of PodcastsAllow use of the News appAllow use of the Safari browserThis is definitely not happening on older ios versionsThis seems like a bug to me unless anyone can tell
3
0
1.8k
Oct ’17
Getting Heart Rate Lock outside of a Workout
How can I get the watch to lock onto the heart rate before starting a workout, in the same way that precision start works on the Ultra? In the past it required a special permission and I requested this several times without hearing back. I assume this was because the permission was intended for other app types (meditation etc). However now that precision start is available in the native app it would be great to provide it in my workout app. I looked around for the permission form again but couldn't find it so I was wondering if anyone knows how to do this? Thanks.
0
0
1.1k
Oct ’22
Can didRegisterForRemoteNotificationsWithDeviceToken be called in the background or when the device is locked?
Hello, Scenario: My app is running in the foreground, logged into my backend server and I have registered for push notifications and received a push token. I have pin code activated on the phone. I make some code changes and re-flash it in Xcode, the app is running in debug mode wired to Xcode. I put the app in the background and lock the screen and wait 30 sec until data protection is activated and the keychain cannot be accessed. I send a push notification. In this case didRegisterForRemoteNotificationsWithDeviceToken if often called with the same push token as I had before. Data is protected in this state, hence I cannot access the auth token and send the token to the server. In this case it is not needed since the token is the same, but it got me a bit worried. In didRegisterForRemoteNotificationsWithDeviceToken I send the push token to the server, as the Apple docs recommend. My concern now is: could didRegisterForRemoteNotificationsWithDeviceToken be called in a real scenario when the phone is
0
0
688
Mar ’24
Lock Screen Call Interface and Wallpaper Customization
Feedback for iOS 27 Public Beta First of all, thank you for the incredible work on iOS 27. The new design, animations, and overall performance are excellent. On my iPhone, the first Public Beta has been very stable, and I truly appreciate the direction Apple is taking. I would like to share two suggestions that I believe would improve the user experience. 1. Please bring back Slide to Answer on the Lock Screen The classic Slide to Answer interface has been an iconic part of the iPhone experience for many years. It is instantly recognizable, helps prevent accidental call acceptance, and makes the iPhone feel unique compared to other smartphones. The new Accept and Decline buttons work well, but they make the incoming call screen feel less distinctive. Please consider either: Bringing back the classic Slide to Answer interface, or Adding a setting that allows users to choose between Slide to Answer and the new Accept/Decline buttons. Giving users the freedom to choose would satisfy both longtime iPhone
Topic: Design SubTopic: General
0
0
707
Jul ’26
iOS 16 Lock Screen Widgets updating
Hello! I am trying to make my complication update info every second, so I could create a timer in it. I already found a solution that helps me to create a timer let components = DateComponents(second: 10) let futureDate = Calendar.current.date(byAdding: components, to: Date())! Text(futureDate, style: .timer) but I want to make a breath timer, so I need to change it to 5 sec timer and then again to 10 sec. Is there any solution that would allow me to update the info that shows in the new iOS 16 Lock Screen Widget in this way?
0
0
764
Jul ’22
Dismiss lock screen player after playback is finished in iOS
I am using AVFoundation framework and more specifically AVPlayer along with AVPlayerItem to play an audio content. I am also setting AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback), AVAudioSession.sharedInstance().setActive(true), MPNowPlayingInfoCenter.default().nowPlayingInfo = // some value and using MPRemoteCommandCenter commands. As usual it is showing a default player on iPhone lock screen as shown in figure.My question is once the playback of audio is finished the default iPhone lock screen player does not goes away. I am resetting all the above info e.g AVAudioSession.sharedInstance().setActive(false) and MPNowPlayingInfoCenter.default().nowPlayingInfo = nil and audioPlayer.replaceCurrentItem(with: nil) etc. How can I make this lock screen player hide after the playback is finished.
2
0
1.7k
Apr ’19
AUNewTimePitch Overlap & Peak Locking Parameters
Every so often the question about what these NewTimePitch parameters control comes up. Unfortunately these two are really not documented anywhere else, so this information should help developers wondering what these two parameters do.kNewTimePitchParam_Overlap - This value controls the number of overlapped spectral windows that are used to produce the output. More overlaps can make smooth passages sound smoother. For percussive sound, a lower overlap may be better. The value of overlap is directly proportional to CPU cost.kNewTimePitchParam_EnablePeakLocking - Peak locking enforces phase coherence of spectral peaks. While it does add some expense, peak locking results in a less phasey or reverberant sound (sometimes also called loss of presence).// Parameters for AUNewTimePitch CF_ENUM(AudioUnitParameterID) { // Global, rate, 1/32 -> 32.0, 1.0 kNewTimePitchParam_Rate = 0, // Global, Cents, -2400 -> 2400, 1.0 kNewTimePitchParam_Pitch = 1, // Global, generic, 3.0 -> 32.0, 8.0 kNewTime
0
0
4.3k
Jan ’16
Is it possible to disable Widget Accenting on the Lock Screen?
I'd like an Image subview of a lock screen widget to render as itself, and not with the multiply-like effect it gets today. I've tried .widgetAccentable(true) and .widgetAccentable(false), but none have the appearance I'm looking for. Is there maybe a new modifier that lets me force the rendering mode? Hoping there is and it's just not jumping out at me. Thanks for your help.
2
0
2.2k
Jun ’22
iOS Background Bluetooth: BLE scanning when iPhone is locked
I am looking for someone from the team at Apple to help me with a bluetooth issue we are experiencing. I am part of a team that is building a product line with a bluetooth device that requires us to use background bluetooth scanning. The device sends BLE packets periodically and the phone receives these packets and sends the data to our DB. We were able to get background bluetooth packets receiving (although sporadically) on the phone. However we cannot receive any packets while the app is backgrounded and the phone is locked. So my question is two fold: This is more critical: Is there any way to allow scanning while the app is backgrounded and the phone is locked? This is secondary: Is there anyway to make background scanning more reliable/predictable so that we can get consistent readings in the background
Replies
7
Boosts
0
Views
16k
Activity
Jul ’20
Lock widget for pro-users
Hi, I have added widgets to my iOS app and I would like to make this feature only accessible to pro users that have made a non-consumable in-app purchase. Currently, I am doing the following: I store an isUnlocked property in the Keychain after the purchase is made I read data to be displayed in the widget and here I also query the Keychain and store whether the widget is unlocked I have no refresh policy, but only change the widget data on a significant time change a different view is displayed when the app is locked Some dummy code snippets: func getTimeline(in context: Context, completion: @escaping (Timeline) -> Void) { ttlet entry = readContents() ttlet timeline = Timeline(entries: [entry], policy: .never) ttcompletion(timeline) } struct WidgetEntryView: View { ttlet entry: Provider.Entry @Environment(.widgetFamily) var family @ViewBuilder var body: some View { switch family { case .systemSmall: if !entry.isUnlocked { LockedWidgetView() } else if let event = entry.event { SmallWidgetEventView
Replies
7
Boosts
0
Views
3.8k
Activity
Oct ’20
ios 11 app lock issue
Anyone else getting an error on ios 11 devices when trying to remove a single app mode payload when you have certain settings disabled in the restrictions payloadFor example:1. install restrictions payload with camera disabled, and single app mode locked to an app on the device2. remove the single app mode payload and resend the profile to the deviceThis will result in the following error: The payload contains a restriction that conflicts with an installed Single App Mode payloadWe have found you cannot remove a single app payload when the following restrictions are disabledAllow use of cameraAllow use of FaceTimeAllow use of iMessageAllow installing apps using Apple Configurator and iTunesAllow installing apps using app storeAllow Game CenterAllow iCloud document syncAllow pairing with Apple WatchAllow use of iTunes storeAllow use of PodcastsAllow use of the News appAllow use of the Safari browserThis is definitely not happening on older ios versionsThis seems like a bug to me unless anyone can tell
Replies
3
Boosts
0
Views
1.8k
Activity
Oct ’17
Getting Heart Rate Lock outside of a Workout
How can I get the watch to lock onto the heart rate before starting a workout, in the same way that precision start works on the Ultra? In the past it required a special permission and I requested this several times without hearing back. I assume this was because the permission was intended for other app types (meditation etc). However now that precision start is available in the native app it would be great to provide it in my workout app. I looked around for the permission form again but couldn't find it so I was wondering if anyone knows how to do this? Thanks.
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’22
Can didRegisterForRemoteNotificationsWithDeviceToken be called in the background or when the device is locked?
Hello, Scenario: My app is running in the foreground, logged into my backend server and I have registered for push notifications and received a push token. I have pin code activated on the phone. I make some code changes and re-flash it in Xcode, the app is running in debug mode wired to Xcode. I put the app in the background and lock the screen and wait 30 sec until data protection is activated and the keychain cannot be accessed. I send a push notification. In this case didRegisterForRemoteNotificationsWithDeviceToken if often called with the same push token as I had before. Data is protected in this state, hence I cannot access the auth token and send the token to the server. In this case it is not needed since the token is the same, but it got me a bit worried. In didRegisterForRemoteNotificationsWithDeviceToken I send the push token to the server, as the Apple docs recommend. My concern now is: could didRegisterForRemoteNotificationsWithDeviceToken be called in a real scenario when the phone is
Replies
0
Boosts
0
Views
688
Activity
Mar ’24
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.10.1 beta keeps locking up then logs me out? anyone else?
10.10.1 beta keeps locking up then logs me out? anyone else?
Replies
1
Boosts
0
Views
79
Activity
Sep ’15
Deleting keychain items of speicific app when device lock is removed
Is there a way , to delete the keychain items of a app when device lock (touchId/ passcode ) is removed . We are unable to access the keychain as the device lock is removed , so would like to know if there is a way we can invalidate this .
Replies
2
Boosts
0
Views
522
Activity
Jun ’22
Anybody else having problems with push notifications on the lock screen with 10.3?
If I send a push to a device when the lock screen which has gone to sleep, then the push is waking the device up when it arrives but the push isn't being displayed on the lock screen (it would be beta 10.1).
Replies
1
Boosts
0
Views
286
Activity
Jul ’16
Lock Screen Call Interface and Wallpaper Customization
Feedback for iOS 27 Public Beta First of all, thank you for the incredible work on iOS 27. The new design, animations, and overall performance are excellent. On my iPhone, the first Public Beta has been very stable, and I truly appreciate the direction Apple is taking. I would like to share two suggestions that I believe would improve the user experience. 1. Please bring back Slide to Answer on the Lock Screen The classic Slide to Answer interface has been an iconic part of the iPhone experience for many years. It is instantly recognizable, helps prevent accidental call acceptance, and makes the iPhone feel unique compared to other smartphones. The new Accept and Decline buttons work well, but they make the incoming call screen feel less distinctive. Please consider either: Bringing back the classic Slide to Answer interface, or Adding a setting that allows users to choose between Slide to Answer and the new Accept/Decline buttons. Giving users the freedom to choose would satisfy both longtime iPhone
Topic: Design SubTopic: General
Replies
0
Boosts
0
Views
707
Activity
Jul ’26
iOS 16 Lock Screen Widgets updating
Hello! I am trying to make my complication update info every second, so I could create a timer in it. I already found a solution that helps me to create a timer let components = DateComponents(second: 10) let futureDate = Calendar.current.date(byAdding: components, to: Date())! Text(futureDate, style: .timer) but I want to make a breath timer, so I need to change it to 5 sec timer and then again to 10 sec. Is there any solution that would allow me to update the info that shows in the new iOS 16 Lock Screen Widget in this way?
Replies
0
Boosts
0
Views
764
Activity
Jul ’22
Dismiss lock screen player after playback is finished in iOS
I am using AVFoundation framework and more specifically AVPlayer along with AVPlayerItem to play an audio content. I am also setting AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback), AVAudioSession.sharedInstance().setActive(true), MPNowPlayingInfoCenter.default().nowPlayingInfo = // some value and using MPRemoteCommandCenter commands. As usual it is showing a default player on iPhone lock screen as shown in figure.My question is once the playback of audio is finished the default iPhone lock screen player does not goes away. I am resetting all the above info e.g AVAudioSession.sharedInstance().setActive(false) and MPNowPlayingInfoCenter.default().nowPlayingInfo = nil and audioPlayer.replaceCurrentItem(with: nil) etc. How can I make this lock screen player hide after the playback is finished.
Replies
2
Boosts
0
Views
1.7k
Activity
Apr ’19
AUNewTimePitch Overlap & Peak Locking Parameters
Every so often the question about what these NewTimePitch parameters control comes up. Unfortunately these two are really not documented anywhere else, so this information should help developers wondering what these two parameters do.kNewTimePitchParam_Overlap - This value controls the number of overlapped spectral windows that are used to produce the output. More overlaps can make smooth passages sound smoother. For percussive sound, a lower overlap may be better. The value of overlap is directly proportional to CPU cost.kNewTimePitchParam_EnablePeakLocking - Peak locking enforces phase coherence of spectral peaks. While it does add some expense, peak locking results in a less phasey or reverberant sound (sometimes also called loss of presence).// Parameters for AUNewTimePitch CF_ENUM(AudioUnitParameterID) { // Global, rate, 1/32 -> 32.0, 1.0 kNewTimePitchParam_Rate = 0, // Global, Cents, -2400 -> 2400, 1.0 kNewTimePitchParam_Pitch = 1, // Global, generic, 3.0 -> 32.0, 8.0 kNewTime
Replies
0
Boosts
0
Views
4.3k
Activity
Jan ’16
Is it possible to disable Widget Accenting on the Lock Screen?
I'd like an Image subview of a lock screen widget to render as itself, and not with the multiply-like effect it gets today. I've tried .widgetAccentable(true) and .widgetAccentable(false), but none have the appearance I'm looking for. Is there maybe a new modifier that lets me force the rendering mode? Hoping there is and it's just not jumping out at me. Thanks for your help.
Replies
2
Boosts
0
Views
2.2k
Activity
Jun ’22