Post

Replies

Boosts

Views

Activity

Reply to iOS 18 open settings URLs
Apple probably doesn't consider this a bug but I filed FB14378568 anyway. Did you frame it as a bug report, or as a feature suggestion? It’s definitely not a bug, since of course an “undocumented API” is no API at all. But lots of developers probably would concur with a suggestion to add proper APIs for these examples and others. You could call for others to submit their own suggestion feedback and reference your FB number.
Jul ’24
Reply to Incorrect JSON Format with JSONEncoder
AccountCreationData(name: "name", email: "email", phone: "phone", password: "password") 110 bytes Something is off. Testing here, if I encode your struct with those exact values, the result is 69 bytes, not 110 bytes. Can you print out a string representation of the encoded JSON? And separately, do you need to set a Content-Type: application/json header so your server knows that the body format is JSON?
Topic: App & System Services SubTopic: General Tags:
Jul ’24
Reply to Not able to use UITabBarControllerDelegate.tabBarController(:didSelectTab:previousTab:)
You just need to change one or both of those parameter names in your code. The argument labels (didSelectTab and previousTab) are part of the method signature and need to match the protocol declaration, but the parameter names can be whatever you want. I’d recommend this: func tabBarController( _ tabBarController: UITabBarController, didSelectTab selectedTab: UITab, // better parameter name previousTab: UITab? // no custom parameter name needed ) (Or you can omit tabBarController and selectedTab entirely if you don’t actually use them in your code.) Also consider entering a Feedback to report that the method declaration in the SDK is poorly formed. Presumably your error came after letting Xcode auto-generate the method for you based on its declaration. So it would be better if the SDK declaration were formed like my proposal above.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’24
Reply to Did WeatherKit minutely precipitation intentionally change units?
Do you happen to have results from the REST API for the same locations? Could be interesting to compare them. Any idea if the unit has changed? The documentation does say it’s kilometers per hour, but that’s not really meaningful since any Measurement value is self-describing. But could be interesting if the unit has changed but not the raw value, or vice versa.
Aug ’24
Reply to Banking App gives Jailbreak warning
I also tried to contact my bank. They say on their side everything is working fine with the iOS app. If their app is falsely claiming that your device is jailbroken, then it’s a bug in their app. There’s nothing anyone at Apple or on this developer forum can do to help. Any idea guys? Is there anything I can „reset“ somewhere? If I were in your end-user shoes, I’d delete the app and reinstall it so that it there is no saved or transferred data.
Topic: Community SubTopic: Apple Developers Tags:
Sep ’24
Reply to Banking App gives Jailbreak warning
Actually my guess is that the app (not the OS) stored a “this device is jailbroken” flag in the app’s settings, and then never actually checks again to see if the device has become non-jailbroken. This flag would be part of the app data that gets transferred to a new device or restored from backup. If it never actually checks for jailbreak again, then you will be stuck like this forever or until you uninstall the app to delete its saved settings. And if your device isn’t jailbroken, then it’s a bug in the jailbreak detection that gave a false positive in the first place.
Topic: Community SubTopic: Apple Developers Tags:
Sep ’24