Search results for

“Account Locked”

34,367 results found

Post

Replies

Boosts

Views

Activity

Preventing auto-lock while recording audio
I have a simple app that is capturing audio via the WKInterfaceController audio recording method. Everything works well, except for the fact that I can never capture a recording longer than about 20 sec because the Apple Watch screen locks. I have set the max duration option to 5 min, but this doesn't seem to have any effect on this aspect of things. Has anyone managed to either get the watch to stay awake in this case, or is there a wy to get the audio recording to continue in the background, even after screen lock?Thanks!
1
0
1.9k
Sep ’15
List in swiftui locking up
If I run this code below , it will goto the detail view the first time, but will not goto the detail view again. It locks up the program with no errors.If I add a second item in the first List (0..<2) it runs fine. Any ideas ?Xcode 11.3import SwiftUIstruct ContentView: View { var body: some View { NavigationView { List { NavigationLink(destination: DetailView() .navigationBarTitle(Test Detail)){ Text(Goto Detail).foregroundColor(.blue) } .navigationBarTitle(Welcome) } } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}struct DetailView: View { var body: some View { List(0 ..< 5) { item in Text(hello).foregroundColor(.blue) } }}
2
0
1.1k
Jan ’20
iPhone lock screen gestures
I'm not actually an IOS developer, but I own an iPhone. I want to develop an app (or more to say an hook) for me personally that requires a gesture recognition on locked screen. The base idea is to create a gesture that will run a bike horn sound. I have an electric wheel and I don't have a physical place where to install a horn, so i think an phone app would be ideal. At the same time I don't want every time to unlock the phone then run the horn app, as this should be a very quick action.
1
0
887
Jun ’20
Lock screen clock (A very small request)
I doubt that the apple devs will actually read this. But if they do, may i have a small request for them? (I know you guys have move on from ios 10 to ios 11. But im stuck on my iphone 5 so no ios 11 for me :p) Add the capability for users to either customise/disable the clock on top of the lock screen for ios 10+ please? I have seen a lot of people trying to jailbreak their iphone just to get this feature, and honestly i dont see any reason this shouldnt be added. Furthermore, people jailbreaking their devices just to get a that simple of a feature is not what you want right? So again, could you please add the ability to disable or customise the lock screen clock? If it work for ios 10 and lower users, it would be even more wonderful. A small ios update adding a small feature wont bother anyone (I think).
1
0
503
Dec ’17
UNNotificationContentExtension does not handle action from lock screen
I am having issues with the UNNotificationContentExtension and actions on the lock screen.If the action requires authentication UIMutableUserNotificationAction.authenticationRequired and the notification is displayed on the lock screen using a UNNotificationContentExtension, the selected action is not sent to my UIApplicationDelegate to be handled.It only occurs in the specific case above.If the action does not require authentication, it works fine.If the notification is displayed on an unlocked phone, it works fine.If the notification is displayed on the lock screen without using the UNNotificationContentExtension, it works fine.It seems like the phone is treating the authentication for the action like a normal unlock, instead of an authentication for an action.For notifications that don't use UNNotificationContentExtension -- if I enter my passcode or fingerprint to authenticate an action the phone remains on the lock screen. But, if I use the UNNotificationContentExtensi
1
0
941
Sep ’16
Lock portrait orientation on iPad
Hi,This seems like it should be a simple question but I can't find an answer. I have an app that runs on both iPhone and iPad. The app uses various parent controllers, including splitview, tab bar, and nav, but the question applies to a circumstance where a view controller is running without a parent (ie it is the window's root view controller) and is running on an iPad. I would like to lock the orientation of that view controller so that it can only be portrait or portraitUpsideDown. The app is written in swift and I am targetting iOS 10. I would like to know how to do this and also if it would create any issues with approval of the app, since it seems Apple wants iPad apps to support all orientations (and my app does, except for this one view controller, which is used only when running on iPad).Thanks very much,Matthew FlemingFleming Dermatopathology
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1k
Nov ’16
How to save a workout with a route on a locked iPhone ?
This question is a follow-up of https://developer.apple.com/forums/thread/695853 I need to save a workout with a route from a locked iPhone. I've tried many different ways of saving it since more than one year but I still struggle to find a code which works when the phone is locked. My current code is : let healthStore = HKHealthStore() let workoutConfiguration = HKWorkoutConfiguration() workoutConfiguration.activityType = .running let builder = HKWorkoutBuilder(healthStore: healthStore, configuration: workoutConfiguration, device: .local()) try await builder.beginCollection(at: workout.start) guard let quantityType = HKQuantityType.quantityType(forIdentifier: .activeEnergyBurned) else { ... } let totalEnergyBurnedSample = HKCumulativeQuantitySample(type: quantityType, quantity: HKQuantity(unit: HKUnit.kilocalorie(), doubleValue: totalEnergyBurned), start: workout.start, end: workout.end) try await builder.addSamples([totalEnergyBurnedSample]) if let route = builder.seriesBuilder(for: .worko
3
0
1.7k
Dec ’21
Siri Shortcuts x Lock Screen
Dear Apple, I have a shortcut that uses the Set Wallpaper block in the shortcut but when I delete my Legacy iOS 15 Lock Screen it won’t work anymore. I’m on an iPhone 11 on iOS 16 Dev Beta 4. Is this a known issue or am I wrong. If I’m wrong correct me please Greetings, JAGBLUE
1
0
385
Jul ’22
External Accessory and Password Locked screen
Hello,It's unclear on documentation about the case of password locked screen. I plug my accessory and I can see the transfer activity from accessory side. But after unlocking the screen, my app does not launch automatically (in compare with unlocked screen). Is it a known limitation?Regards,Mikhail Kolesov
2
0
803
Jan ’18
Reply to My Developer Account is Locked
The same here. Developer account that I used for more than 10 years suddenly locked without any explanation. And the answer marked here as recommended - it's actually incorrect. Doesn't DTS Engineer know, if you can't log in, you also can't visit the contact page for the Apple Developer Program?
May ’25
Reply to Pairing Failed (Internal Alert)
Sometimes you just have to post the question for you to realize the answer.I think I figured it out. It seems to be an issue with activation lock getting in a weird state. Go into iCloud, Find my iPhone and delete your Watch from your account. Then go back and try pairing again. It fixed mine.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’19
Documents are locked when opened under XC UI Testing
Got an issue with XC UI Testing where I can't open documents without them being marked as locked (the Locked label is shown in the titlebar). The document in question is a testing asset and copied into the testing bundle for easy access. I've checked the file in bundle in Finder and the document is not marked as locked. I've also tried copying the document to a temp directory before opening it and it's still locked?! What's the trick for getting it to open without being locked?
1
0
632
Apr ’24
Saving workout routes on the phone when locked
I'm using HKLiveWorkoutDataSource and HKWorkoutRouteBuilder. The running workouts my app supports can be timed or distance-based, so the user may complete the workout while the phone is locked. In this case, the workout route cannot be saved because HealthKit is locked. To work around this issue, I save route data to the device and listen for UIApplication.protectedDataDidBecomeAvailableNotification to later add the route to the workout. Note, this is not needed on the watch, just the phone. Is this limitation by design, or is there a better way to handle it? BTW, thanks for making these APIs available on the phone in iOS 26 and also adding the heart rate zone APIs in 27
3
0
371
4w
Preventing auto-lock while recording audio
I have a simple app that is capturing audio via the WKInterfaceController audio recording method. Everything works well, except for the fact that I can never capture a recording longer than about 20 sec because the Apple Watch screen locks. I have set the max duration option to 5 min, but this doesn't seem to have any effect on this aspect of things. Has anyone managed to either get the watch to stay awake in this case, or is there a wy to get the audio recording to continue in the background, even after screen lock?Thanks!
Replies
1
Boosts
0
Views
1.9k
Activity
Sep ’15
Vertical scrolling with a UICollectionView not locked
I'm building a Messages extension that shows a vertically scrolling UICollectionView. I've noticed that when the extension first loads, scrolling vertically is not locked and the slight movement horizontally moves the entire extension away. Has anyone else seen this? I've filed a bug and am waiting to hear back.
Replies
0
Boosts
0
Views
353
Activity
Jun ’16
Locked phone
It says im needed to connect to itunes but doesnt give info of what i should do
Replies
0
Boosts
0
Views
264
Activity
Dec ’20
List in swiftui locking up
If I run this code below , it will goto the detail view the first time, but will not goto the detail view again. It locks up the program with no errors.If I add a second item in the first List (0..<2) it runs fine. Any ideas ?Xcode 11.3import SwiftUIstruct ContentView: View { var body: some View { NavigationView { List { NavigationLink(destination: DetailView() .navigationBarTitle(Test Detail)){ Text(Goto Detail).foregroundColor(.blue) } .navigationBarTitle(Welcome) } } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}struct DetailView: View { var body: some View { List(0 ..< 5) { item in Text(hello).foregroundColor(.blue) } }}
Replies
2
Boosts
0
Views
1.1k
Activity
Jan ’20
iPhone lock screen gestures
I'm not actually an IOS developer, but I own an iPhone. I want to develop an app (or more to say an hook) for me personally that requires a gesture recognition on locked screen. The base idea is to create a gesture that will run a bike horn sound. I have an electric wheel and I don't have a physical place where to install a horn, so i think an phone app would be ideal. At the same time I don't want every time to unlock the phone then run the horn app, as this should be a very quick action.
Replies
1
Boosts
0
Views
887
Activity
Jun ’20
Lock screen clock (A very small request)
I doubt that the apple devs will actually read this. But if they do, may i have a small request for them? (I know you guys have move on from ios 10 to ios 11. But im stuck on my iphone 5 so no ios 11 for me :p) Add the capability for users to either customise/disable the clock on top of the lock screen for ios 10+ please? I have seen a lot of people trying to jailbreak their iphone just to get this feature, and honestly i dont see any reason this shouldnt be added. Furthermore, people jailbreaking their devices just to get a that simple of a feature is not what you want right? So again, could you please add the ability to disable or customise the lock screen clock? If it work for ios 10 and lower users, it would be even more wonderful. A small ios update adding a small feature wont bother anyone (I think).
Replies
1
Boosts
0
Views
503
Activity
Dec ’17
UNNotificationContentExtension does not handle action from lock screen
I am having issues with the UNNotificationContentExtension and actions on the lock screen.If the action requires authentication UIMutableUserNotificationAction.authenticationRequired and the notification is displayed on the lock screen using a UNNotificationContentExtension, the selected action is not sent to my UIApplicationDelegate to be handled.It only occurs in the specific case above.If the action does not require authentication, it works fine.If the notification is displayed on an unlocked phone, it works fine.If the notification is displayed on the lock screen without using the UNNotificationContentExtension, it works fine.It seems like the phone is treating the authentication for the action like a normal unlock, instead of an authentication for an action.For notifications that don't use UNNotificationContentExtension -- if I enter my passcode or fingerprint to authenticate an action the phone remains on the lock screen. But, if I use the UNNotificationContentExtensi
Replies
1
Boosts
0
Views
941
Activity
Sep ’16
Lock portrait orientation on iPad
Hi,This seems like it should be a simple question but I can't find an answer. I have an app that runs on both iPhone and iPad. The app uses various parent controllers, including splitview, tab bar, and nav, but the question applies to a circumstance where a view controller is running without a parent (ie it is the window's root view controller) and is running on an iPad. I would like to lock the orientation of that view controller so that it can only be portrait or portraitUpsideDown. The app is written in swift and I am targetting iOS 10. I would like to know how to do this and also if it would create any issues with approval of the app, since it seems Apple wants iPad apps to support all orientations (and my app does, except for this one view controller, which is used only when running on iPad).Thanks very much,Matthew FlemingFleming Dermatopathology
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
2
Boosts
0
Views
1k
Activity
Nov ’16
How to save a workout with a route on a locked iPhone ?
This question is a follow-up of https://developer.apple.com/forums/thread/695853 I need to save a workout with a route from a locked iPhone. I've tried many different ways of saving it since more than one year but I still struggle to find a code which works when the phone is locked. My current code is : let healthStore = HKHealthStore() let workoutConfiguration = HKWorkoutConfiguration() workoutConfiguration.activityType = .running let builder = HKWorkoutBuilder(healthStore: healthStore, configuration: workoutConfiguration, device: .local()) try await builder.beginCollection(at: workout.start) guard let quantityType = HKQuantityType.quantityType(forIdentifier: .activeEnergyBurned) else { ... } let totalEnergyBurnedSample = HKCumulativeQuantitySample(type: quantityType, quantity: HKQuantity(unit: HKUnit.kilocalorie(), doubleValue: totalEnergyBurned), start: workout.start, end: workout.end) try await builder.addSamples([totalEnergyBurnedSample]) if let route = builder.seriesBuilder(for: .worko
Replies
3
Boosts
0
Views
1.7k
Activity
Dec ’21
Siri Shortcuts x Lock Screen
Dear Apple, I have a shortcut that uses the Set Wallpaper block in the shortcut but when I delete my Legacy iOS 15 Lock Screen it won’t work anymore. I’m on an iPhone 11 on iOS 16 Dev Beta 4. Is this a known issue or am I wrong. If I’m wrong correct me please Greetings, JAGBLUE
Replies
1
Boosts
0
Views
385
Activity
Jul ’22
External Accessory and Password Locked screen
Hello,It's unclear on documentation about the case of password locked screen. I plug my accessory and I can see the transfer activity from accessory side. But after unlocking the screen, my app does not launch automatically (in compare with unlocked screen). Is it a known limitation?Regards,Mikhail Kolesov
Replies
2
Boosts
0
Views
803
Activity
Jan ’18
Reply to My Developer Account is Locked
The same here. Developer account that I used for more than 10 years suddenly locked without any explanation. And the answer marked here as recommended - it's actually incorrect. Doesn't DTS Engineer know, if you can't log in, you also can't visit the contact page for the Apple Developer Program?
Replies
Boosts
Views
Activity
May ’25
Reply to Pairing Failed (Internal Alert)
Sometimes you just have to post the question for you to realize the answer.I think I figured it out. It seems to be an issue with activation lock getting in a weird state. Go into iCloud, Find my iPhone and delete your Watch from your account. Then go back and try pairing again. It fixed mine.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’19
Documents are locked when opened under XC UI Testing
Got an issue with XC UI Testing where I can't open documents without them being marked as locked (the Locked label is shown in the titlebar). The document in question is a testing asset and copied into the testing bundle for easy access. I've checked the file in bundle in Finder and the document is not marked as locked. I've also tried copying the document to a temp directory before opening it and it's still locked?! What's the trick for getting it to open without being locked?
Replies
1
Boosts
0
Views
632
Activity
Apr ’24
Saving workout routes on the phone when locked
I'm using HKLiveWorkoutDataSource and HKWorkoutRouteBuilder. The running workouts my app supports can be timed or distance-based, so the user may complete the workout while the phone is locked. In this case, the workout route cannot be saved because HealthKit is locked. To work around this issue, I save route data to the device and listen for UIApplication.protectedDataDidBecomeAvailableNotification to later add the route to the workout. Note, this is not needed on the watch, just the phone. Is this limitation by design, or is there a better way to handle it? BTW, thanks for making these APIs available on the phone in iOS 26 and also adding the heart rate zone APIs in 27
Replies
3
Boosts
0
Views
371
Activity
4w