Post

Replies

Boosts

Views

Activity

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 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 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 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 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