Post

Replies

Boosts

Views

Activity

Reply to How to detect if an app is locked by the user in iOS 18
I'm not sure you should do this, unless Apple is telling us all that there should only be one unlock action (which I haven't heard them suggesting). Let's say your iPhone is locked by Face ID, and you want to pay for something with Apple Pay. You have to authenticate with Face ID again. Or should you just be able to pay without authorising the action? Also, it might confuse your users as to why they don't have to unlock the app.
Jun ’24
Reply to How round an NSDate to midnight (00:00) of the day?
Something like this should work: -(NSDate *)startOfDay:(NSDate *)date { NSCalendar *cal = [NSCalendar currentCalendar]; NSDateComponents *components = [cal components:( NSMonthCalendarUnit | NSYearCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit | NSSecondCalendarUnit ) fromDate:date]; [components setHour:0]; [components setMinute:0]; [components setSecond:0]; return [cal dateFromComponents:components]; }
Topic: App & System Services SubTopic: General Tags:
Jun ’24
Reply to iOS 18 App Intents while supporting iOS 17
Are you sure this doesn't work? (not actual code) if(#available iOS 18) { AppShortcut(intent: SearchSnippetIntent(), phrases: [ "Search \(.applicationName) Studio", "Search \(.applicationName)" ], shortTitle: "Search", systemImageName: "magnifyingglass") } } Have you tried something like: (not actual code) @available iOS 18 struct SnippetsShortcutsAppShortcutsProvider: AppShortcutsProvider { // List all four items here } @available iOS 17 struct SnippetsShortcutsAppShortcutsProvider: AppShortcutsProvider { // List just the three iOS 17 ones here }
Topic: Machine Learning & AI SubTopic: General Tags:
Jun ’24
Reply to Screen Time
Never install a beta on your primary device. Can you go back to iOS 17?
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to How to detect if an app is locked by the user in iOS 18
I'm not sure you should do this, unless Apple is telling us all that there should only be one unlock action (which I haven't heard them suggesting). Let's say your iPhone is locked by Face ID, and you want to pay for something with Apple Pay. You have to authenticate with Face ID again. Or should you just be able to pay without authorising the action? Also, it might confuse your users as to why they don't have to unlock the app.
Replies
Boosts
Views
Activity
Jun ’24
Reply to restarting ipjone on ios 18
Depends what you're doing at the time on a beta version of an OS. Raise a Feedback report, and post the FB number here.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Major Clock app suggestion
This isn't the place for suggestions. Please raise a feedback report at https://www.apple.com/feedback/
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to NSFetchedResultsController - NSInvalidArgumentException
What code is running at the time? Taking a look, it seems there is a nil item in the array (or no items in the array)? 2 CoreFoundation 0x1b6250 _NSArrayRaiseInsertNilException 3 CoreFoundation 0x16f5c -[__NSCFArray objectAtIndex:]
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to SOS
This isn't the place for suggestions. Please raise a feedback report at https://www.apple.com/feedback/.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to How round an NSDate to midnight (00:00) of the day?
Something like this should work: -(NSDate *)startOfDay:(NSDate *)date { NSCalendar *cal = [NSCalendar currentCalendar]; NSDateComponents *components = [cal components:( NSMonthCalendarUnit | NSYearCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit | NSSecondCalendarUnit ) fromDate:date]; [components setHour:0]; [components setMinute:0]; [components setSecond:0]; return [cal dateFromComponents:components]; }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to IOS 18 update experienced : Notification issue
Have you raised separate Feedback reports for these issues? You should do so, then post the FB numbers here.
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS 18 mac address rotation
Have you raised a Feedback report? If so, put the FB number here. If you haven't, please do so. Apple's developers don't all hang around here, and the ones who do aren't going to raise every issue anyone mentions. You must do this yourself.
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS 18 App Intents while supporting iOS 17
Are you sure this doesn't work? (not actual code) if(#available iOS 18) { AppShortcut(intent: SearchSnippetIntent(), phrases: [ "Search \(.applicationName) Studio", "Search \(.applicationName)" ], shortTitle: "Search", systemImageName: "magnifyingglass") } } Have you tried something like: (not actual code) @available iOS 18 struct SnippetsShortcutsAppShortcutsProvider: AppShortcutsProvider { // List all four items here } @available iOS 17 struct SnippetsShortcutsAppShortcutsProvider: AppShortcutsProvider { // List just the three iOS 17 ones here }
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to My Xs Max cant update or reset.
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about stuff. Your question is more of a support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS 18 bugs and glitches
Making a post in the Developer Forums with a long list of issues isn't really the best way to raise the bugs. Raise a Feedback report for each issue separately. If you then want to explain the bugs in your post, you can do so - in case others encounter them, too - but please add the FB number to each one.
Replies
Boosts
Views
Activity
Jun ’24
Reply to App Store Review Request error Swift 6
We are also unsure how to go about fixing this error because you haven't given us any code.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Dock issues in multiple screens after Sequoia update.
Raise a feedback report, and post the FB number here.
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Jun ’24
Reply to Add the info of each picture in the photo app, which is derived from the name of the user's self-built album.
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums are NOT where Apple's actual developers chat about stuff. Your question is more of a support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Jun ’24