Search results for

Account Locked

31,839 results found

Post

Replies

Boosts

Views

Activity

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
283
Jun ’17
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
513
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
473
Jul ’24
setting up macOS service accounts?
I found this Apple document on what is an account and the different types in macOS: https://support.apple.com/guide/server/intro-to-accounts-apdcb06a828/mac but there is nothing about service accounts (typically locked accounts not possible to login with it used by system services such as databases). Is there a way to set up a service account in macOS? Or alternatively a way to configure up a user account in macOS that has the same characteristics as a service account found in Linux (like for example, /usr/sbin/nologin is used, see https://unix.stackexchange.com/questions/314725/what-is-the-difference-between-user-and-service-account). Thank you!
1
0
2.2k
Oct ’21
How to detect Device Lock and Unlock events in iOS application extension ?
Hey guys,My iOS application has an extension that detects device Unlock and Lock event. I found 2 separate API to detect. Both of them work great.But my code is rejected twice by Apple Review Team. The following reason was to reject our binary.From AppleGuideline 2.5.1 - Performance - Software RequirementsYour app uses or references the following non-public APIs:com.apple.springboard.lockcompletecom.apple.springboard.lockstate1. First solution to detect device lock and unlock-----------------------------------Code Starts here-----------------------------------#import <notify.h> int notify_token; notify_register_dispatch(com.apple.springboard.lockstate, ¬ify_token, dispatch_get_main_queue(), ^(int token) { uint64_t state = UINT64_MAX; notify_get_state(token, &state); if(state == 0) { self->lastActiveDate = [NSDate date]; self->deviceCurrentState = _DEVICE_LOCK_STATE_UNLOCKED; } else { self->deviceCurrentState = _DEVICE_LOCK_STATE_LOCKED; } } );------------------------------
Topic: UI Frameworks SubTopic: AppKit Tags:
4
0
7.5k
Aug ’18
Reply to could not sign in
First confirm that you are entering your ID and password correctly by logging in at https://www.icloud.comThen contact Apple Support to get them to check that your AppleID account is not locked or has somehow reverted.Start here: https://www.apple.com/support/ipad/contact/Click Contact Support at the bottom of the page.Click Apple ID & PasswordClick Apple ID has been disabled for security reasonsChoose how you'd like to speak to themMax.
Sep ’15
Can Associated Developer Accounts list include your own account?
Hey Devs, I'm trying to sign up for the Small Business Program, and I had a question regarding the listing of Associated Developer Accounts. When they say Do you have ultimate decision-making authority over another Apple Developer Program member account?, are they referring to any account including your own, or are they referring to other accounts that you have access to? Thanks!
0
0
1k
May ’21
Reply to Membership Says Identity Issue. I've already paid $99 under individual license & Still it says Enrollment Pending
This issue has probably arisen because you applied for a Apple Developer program from a country different to the nationanlity of your Apple ID and bank/credit card. Instead of activating your Developer account, the system locked everything because it considers your situation as a potential bank fraud.So you're right, you need to get in touch with the Developer Account Support team if you want to try to get things moving - phone numbers for different countires are here:https://developer.apple.com/contact/phone.phpYou can also contact them via Web Message here:https://developer.apple.com/contact/submit.phpGood luck-Max
Sep ’15
Lock Screen Password Reset Impossible Since Sonoma
Posting this here in hopes someone at Apple will be made aware. Since Sonoma, the Old Password field was removed from the Reset Password UI. Apparently, this made it impossible to reset a password from the lock screen even when the password meets the requirements. Since there was no other option but to forcefully reboot, the Reset Password UI on the login screen was even less intuitive. Enter password, prompted to reset password, specify new password (same password attempted from Lock Screen Rest Password UI), Reset Password button grayed out. Hmm. Where do I enter my old password that I just entered to trigger the Reset Password UI? Oh, the Enter Password field. We've had two users resort to resetting their password with the FileVault recovery key due to this Reset Password UI change. If anyone else has in an environment with MacOS Sonoma devices managed by MDM, would be interested to know if the same behavior occurs.
2
0
1.2k
Oct ’23
Account is terminated because transferring app from another account
I bought someone else's app and they transferred their app to my account last year. The app was working fine until today when I updated the app I got the message that my account was suspended due to a link to a suspended account. I suspect that after transferring the app to my account, my seller's account broke the rules and was terminated. When I bought the app, I couldn't tell if the seller's account was in violation or not. But apple thought that my account was related to another account and terminated my account. Is there a way to explain to apple so they can recover my account? Help me please.
2
0
747
Jun ’23