Post

Replies

Boosts

Views

Activity

Reply to SwiftData: Unable to delete (Xcode 16)
Let me reduce what you wrote down to the relevant bits: { for index in indexSet { let chat = chatLog[index] modelContext.delete(chat) } } You haven't told us what is in chatLog, so we don't know whether you actually remove the deleted item from the array, or whether you repopulate chatLog after deleting the item from modelContext. Can't really help you unless we know exactly what you're doing. If chatLog reflects what's in modelContext, then if it shows the deleted item then that item definitely wasn't removed from modelContext.
Jun ’24
Reply to Today's Date and Time
Why do you need to do this? You have control over the server, right? The user cannot affect the server's date time, so: If the device date is before the server date, then don't allow them to do something. If the device date is after the server date, then you know it's rubbish because the user has changed their device date to be after the server date. The server date should be the one source of truth. That's always the correct date. Deal with it like that, and you should be fine.
Jun ’24
Reply to iOS Unlock Method
No. Why do you need to know that? Can't you just offer the best option to your users? If the device has biometrics and they're enabled and ready (which is something you can definitely check for) then handle it. If the device has biometrics but they aren't enabled/available, handle that instead. You don't need to know how the user unlocked their device to deal with authentication in your own app.
Topic: Privacy & Security SubTopic: General Tags:
Jun ’24
Reply to Screen tome big on ios 18 beta
Can't you just ask your parents to login on your phone and turn it all off? Why do you think third-party app developers here would be able to bypass the Screen Time password? There seems to be an issue with Screen Time settings on iOS 18 beta, so maybe you should downgrade to iOS 17, deactivate Screen Time (with your parents input), and install the beta again?
Jun ’24
Reply to Account holder apple id disabled. How to renew the membership?
Why can't the original account holder login anymore? What was the reason that Support gave you for not reactivating the Apple ID? (This suggests the Apple ID was deactivated; why was it deactivated?) Honestly, you haven't given anywhere near the amount of information required. Besides that, we can't help you because e aren't the Support team. You need to figure out how to reactivate the Apple ID yourself; we have no control over that.
Jun ’24
Reply to Cant able to set lock screen independent of Wallpaper in Mac
Looks like they removed that functionality. This page seems to have some info on how to achieve it: https://osxdaily.com/2023/02/27/how-to-change-the-lock-screen-wallpaper-on-macos-ventura/ But, as an aside, this is really a product support question, not really something for us third-party developers to answer. Your choice of tags for your post is also wrong. It has nothing to do with "Device Management" and "Managed Settings". Your question is better asked at the Apple Support Forums. Thanks.
Topic: App & System Services SubTopic: Core OS Tags:
May ’24
Reply to SwiftData: Unable to delete (Xcode 16)
Let me reduce what you wrote down to the relevant bits: { for index in indexSet { let chat = chatLog[index] modelContext.delete(chat) } } You haven't told us what is in chatLog, so we don't know whether you actually remove the deleted item from the array, or whether you repopulate chatLog after deleting the item from modelContext. Can't really help you unless we know exactly what you're doing. If chatLog reflects what's in modelContext, then if it shows the deleted item then that item definitely wasn't removed from modelContext.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Today's Date and Time
Why do you need to do this? You have control over the server, right? The user cannot affect the server's date time, so: If the device date is before the server date, then don't allow them to do something. If the device date is after the server date, then you know it's rubbish because the user has changed their device date to be after the server date. The server date should be the one source of truth. That's always the correct date. Deal with it like that, and you should be fine.
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS Unlock Method
No. Why do you need to know that? Can't you just offer the best option to your users? If the device has biometrics and they're enabled and ready (which is something you can definitely check for) then handle it. If the device has biometrics but they aren't enabled/available, handle that instead. You don't need to know how the user unlocked their device to deal with authentication in your own app.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to UIFont crash on iOS 18 +[UIFont systemFontOfSize:traits:]
This is clearly a bug in the iOS 18 beta. Raise it as feedback and post the FB number on here. No one knows which beta version will fix it.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Screen time not working
Why not raise a Feedback report for the beta?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Unable to login developer account
What's the actual error you're receiving? Why do you think third-party app developers (us) would know how to get you to login properly if you don't give us relevant information?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Screen tome big on ios 18 beta
Can't you just ask your parents to login on your phone and turn it all off? Why do you think third-party app developers here would be able to bypass the Screen Time password? There seems to be an issue with Screen Time settings on iOS 18 beta, so maybe you should downgrade to iOS 17, deactivate Screen Time (with your parents input), and install the beta again?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Generating Tokens for API Requests
Word salad. What's your actual issue here?
Replies
Boosts
Views
Activity
Jun ’24
Reply to selection multiple buttons
Sorry, is there a question here?
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’24
Reply to No containerBackground content on Widget in iOS 18 tinted home screen style
This is not usable as an example. What is entry etc.? Can you provide a minimum reproducible example that doesn't require other structures and data that you haven't included here?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Account holder apple id disabled. How to renew the membership?
Why can't the original account holder login anymore? What was the reason that Support gave you for not reactivating the Apple ID? (This suggests the Apple ID was deactivated; why was it deactivated?) Honestly, you haven't given anywhere near the amount of information required. Besides that, we can't help you because e aren't the Support team. You need to figure out how to reactivate the Apple ID yourself; we have no control over that.
Replies
Boosts
Views
Activity
Jun ’24
Reply to xcode bug
Go to Xcode's settings ? Platform tab. Remove all iOS simulators, wait for them to refresh, then install the one you want (iOS 17.5).
Replies
Boosts
Views
Activity
Jun ’24
Reply to NSarray crashes with different exceptions from the same place
I can't make out anything from the crash reports, but this line smells: NSMutableArray *result = [NSMutableArray array]; Isn't it supposed to be something like this? NSMutableArray *result = [[NSMutableArray alloc] init];
Replies
Boosts
Views
Activity
Jun ’24
Reply to File transfer to watch fails after OS update
Yes, you already posted this here: https://developer.apple.com/forums/thread/751623 Someone raised a feedback, with number: 13799436
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Cant able to set lock screen independent of Wallpaper in Mac
Looks like they removed that functionality. This page seems to have some info on how to achieve it: https://osxdaily.com/2023/02/27/how-to-change-the-lock-screen-wallpaper-on-macos-ventura/ But, as an aside, this is really a product support question, not really something for us third-party developers to answer. Your choice of tags for your post is also wrong. It has nothing to do with "Device Management" and "Managed Settings". Your question is better asked at the Apple Support Forums. Thanks.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’24