Search results for

“Account Locked”

32,729 results found

Post

Replies

Boosts

Views

Activity

Locking thread with DispatchGroup
In my AppDelegate I'm setting a custom NSObject subclass as my UNUserNotificationCenterDelegate. When the notification comes in, depending on type, I need to make a web call, which is of course asynchronous. However, I can't exit the delegate method until that web call returns, since I have to call the completionHandler passed into userNotificationCenter(_:willPresent:withCompletionHandler).I was thinking I could just do the below, but the wait blocks the main thread, and the web call is never actually kicked off. How do I work around this?func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { // Stuff let group = DispatchGroup() group.enter() AlamofireAsyncWebCall.onComplete { [unowned self] response in defer { group.leave() } // stuff here } group.wait() completionHandler([]) }I'm thinking unowned is safe there since this delegate is strongly held by the App
0
0
520
Jan ’17
Lock Screen Orientation
Looking for code to prevent a user from going landscape on a particular view controller only for an iPhone. The user should be able to rotate the view to landscape on an iPad only on the view controller.
Topic: Design SubTopic: General
1
0
509
Jul ’24
Appintent: openAppWhenRun breaks shortcut when phone is locked
I have an app intent like the one below. If the intent is run via siri when the phone is locked then the user is asked to unlock their phone but the shortcut is interrupted. Is it possible to delay opening the app until the result dialog is returned? import AppIntents struct MyIntent: AppIntent { static var title: LocalizedStringResource = MyApp static var description = IntentDescription(Captures data) static var openAppWhenRun: Bool = true @Parameter(title: The Data) var theData: String @MainActor func perform() async throws -> some IntentResult { _ = try await RESTClient.postData(theData: theData) return .result(dialog:Thank you!) //TODO: Now try to open app } }
0
0
894
Jun ’23
RealityView content disappears when selecting Lock In Place on visionOS
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. Note: Follow Me does NOT reproduce this issue. Minimal reproducible code: struct ImmersiveView: View { 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), re
0
0
292
2w
Rotation problem after pressing Lock Button
I am working on my first ios app, which is a game running full screen in landscape right orientation only.The problem is if I am running the game and press the Lock button, then unlock the device, the game appears correctly in landscape mode but then switches for a short time to portrait before returning to landscape. Everythis works ok, it just looks a little messy.I think I have all of the settings correct. On the General screen I have only Landscape right, hide status bar and requires full screen ticked. In my Info.plist, this is the only supported orientation shown for both iPhone and iPad. In my GameViewController.m I have shouldAutorotate set to NO, and supportedInterfaceOrientations set to UIInterfaceOrientationMaskLandscapeRight.I would greatly appreciate any help to resolve this. Thanks.
0
0
291
Jun ’17
Why Can the Recording Be Normal After the Phone Screen Is Locked During the Allocation Process of Instruments?
When I use Instruments to record Allocation, the phone will display a dialog box indicating that the phone is unlocked when the screen is locked, as shown in Figure 1. When I have started recording allocation and lock the screen 10s later, the allocation can be recorded normally. For details, see Figure 2. I want to know why. Start recording for 10s and lock the screen on the device. The recording can be performed normally. What is the principle of this?
1
0
643
Jan ’24
User account and apple accounts are different
how to manage subscriptions if authentication email on app is different from apple accounts used to manage subscription.In our app we have an authentication system that is used to authenticate user and also register the user.Our app has subscription plans for accessing the content on the app.But sometimes user uses different email address for signing up on the app from the apple account in that particular case how do we handle the subscription ??
5
0
2.6k
Jan ’17
AccessibilityUIServer has microphone locked
Just installed iOS 18 Beta 3. I am seeing my AccessibilityUIServer using the microphone and this is causing no notification sounds, inability to use Siri by voice and volume is grayed out. If I start to play anything with sound AccessibilityUIServer releases the microphone and I am able to use the app. Calls still work since AccessibilityUIServer will release and the phone will ring. Feed back ID is FB14241838.
12
0
6.4k
Jul ’24
Locking thread with DispatchGroup
In my AppDelegate I'm setting a custom NSObject subclass as my UNUserNotificationCenterDelegate. When the notification comes in, depending on type, I need to make a web call, which is of course asynchronous. However, I can't exit the delegate method until that web call returns, since I have to call the completionHandler passed into userNotificationCenter(_:willPresent:withCompletionHandler).I was thinking I could just do the below, but the wait blocks the main thread, and the web call is never actually kicked off. How do I work around this?func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { // Stuff let group = DispatchGroup() group.enter() AlamofireAsyncWebCall.onComplete { [unowned self] response in defer { group.leave() } // stuff here } group.wait() completionHandler([]) }I'm thinking unowned is safe there since this delegate is strongly held by the App
Replies
0
Boosts
0
Views
520
Activity
Jan ’17
Lock Screen Orientation
Looking for code to prevent a user from going landscape on a particular view controller only for an iPhone. The user should be able to rotate the view to landscape on an iPad only on the view controller.
Topic: Design SubTopic: General
Replies
1
Boosts
0
Views
509
Activity
Jul ’24
Split link between Dev Account and iCloud Account?
Hey all,When I signed up for a developer account, I just used my normal iCloud login credentials. Is there any way to split this, so my developer account is linked to a seperate iCloud account and not my current one?
Replies
0
Boosts
0
Views
310
Activity
Sep ’15
Appintent: openAppWhenRun breaks shortcut when phone is locked
I have an app intent like the one below. If the intent is run via siri when the phone is locked then the user is asked to unlock their phone but the shortcut is interrupted. Is it possible to delay opening the app until the result dialog is returned? import AppIntents struct MyIntent: AppIntent { static var title: LocalizedStringResource = MyApp static var description = IntentDescription(Captures data) static var openAppWhenRun: Bool = true @Parameter(title: The Data) var theData: String @MainActor func perform() async throws -> some IntentResult { _ = try await RESTClient.postData(theData: theData) return .result(dialog:Thank you!) //TODO: Now try to open app } }
Replies
0
Boosts
0
Views
894
Activity
Jun ’23
RealityView content disappears when selecting Lock In Place on visionOS
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. Note: Follow Me does NOT reproduce this issue. Minimal reproducible code: struct ImmersiveView: View { 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), re
Replies
0
Boosts
0
Views
292
Activity
2w
Rotation problem after pressing Lock Button
I am working on my first ios app, which is a game running full screen in landscape right orientation only.The problem is if I am running the game and press the Lock button, then unlock the device, the game appears correctly in landscape mode but then switches for a short time to portrait before returning to landscape. Everythis works ok, it just looks a little messy.I think I have all of the settings correct. On the General screen I have only Landscape right, hide status bar and requires full screen ticked. In my Info.plist, this is the only supported orientation shown for both iPhone and iPad. In my GameViewController.m I have shouldAutorotate set to NO, and supportedInterfaceOrientations set to UIInterfaceOrientationMaskLandscapeRight.I would greatly appreciate any help to resolve this. Thanks.
Replies
0
Boosts
0
Views
291
Activity
Jun ’17
Live Activity Blanks out when lock screen sleeps.
I have a live activity, that works fine when the Lock Screen showing, but as soon as it sleeps dims down for always on display, everything in the widget disappears and an Activity Indicator(spinner), displays in its place, but non-animating.
Replies
4
Boosts
0
Views
956
Activity
Jul ’24
Why Can the Recording Be Normal After the Phone Screen Is Locked During the Allocation Process of Instruments?
When I use Instruments to record Allocation, the phone will display a dialog box indicating that the phone is unlocked when the screen is locked, as shown in Figure 1. When I have started recording allocation and lock the screen 10s later, the allocation can be recorded normally. For details, see Figure 2. I want to know why. Start recording for 10s and lock the screen on the device. The recording can be performed normally. What is the principle of this?
Replies
1
Boosts
0
Views
643
Activity
Jan ’24
Lock and unlock app feature using Auto renewable purchase
In my app which is platform independent can I use Auto renewable to lock or unlock app feature . Is it possible that app may be rejected by Apple .
Replies
1
Boosts
0
Views
272
Activity
Jun ’16
User account and apple accounts are different
how to manage subscriptions if authentication email on app is different from apple accounts used to manage subscription.In our app we have an authentication system that is used to authenticate user and also register the user.Our app has subscription plans for accessing the content on the app.But sometimes user uses different email address for signing up on the app from the apple account in that particular case how do we handle the subscription ??
Replies
5
Boosts
0
Views
2.6k
Activity
Jan ’17
ios 9.3 iPhone 6s lock/touch id problem
When I open iPhone with touch Id, phone opens but locks immediately after and works second time. It does that almost every time.
Replies
4
Boosts
0
Views
728
Activity
Feb ’16
My company account, how can I find the login account?
Hello! I am a company legal person. Now I don't know what the company account number is. How can I find it?
Replies
1
Boosts
0
Views
958
Activity
Dec ’18
PKCanvasView locked maximumZoomScale?
Hi.I´m testing the new iOS 13 framework Pencilkit. But I have seen when im trying to set maximumZoomScale to some value (example 256), PKCanvasView set 10 as max zoom scale, is there any way to change this?Thanks
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
742
Activity
Oct ’19
Help with IPAD locked
My ipad said IPad is disabled connect to ITunes I can't no where with trying to reset. Has anyone else had this issue? If so, can you give advise to unlocking
Replies
0
Boosts
0
Views
260
Activity
Jan ’21
AccessibilityUIServer has microphone locked
Just installed iOS 18 Beta 3. I am seeing my AccessibilityUIServer using the microphone and this is causing no notification sounds, inability to use Siri by voice and volume is grayed out. If I start to play anything with sound AccessibilityUIServer releases the microphone and I am able to use the app. Calls still work since AccessibilityUIServer will release and the phone will ring. Feed back ID is FB14241838.
Replies
12
Boosts
0
Views
6.4k
Activity
Jul ’24