Post

Replies

Boosts

Views

Activity

Reply to Need to change the screenshots in the App Store
Is there any potential to change (the screenshots)? Not until you submit an app update. I need to change my personal name to the app name. That's... unusual :-) The rules for changing your name may depend on where you live and what the app name is. Do you really want to spend the rest of your life called Fart Juggle Pro 1000? Seriously though - if you want to show something other than your name in the App Store, you need to establish a business with that name and have a business account.
Aug ’24
Reply to Swiftdata with Date
I'm going out of mind with the following issue. That's normal, everything related to computations on dates and times will rapidly make you mad. Obligatory xkcd: https://www.xkcd.com/2867/ In this case, the key is probably timezones. If you convert a date to a time and then back to a date you can end up with a different date, because the conversion to time is probably at midnight, and I guess midnight in Italy is 22:00 the previous day in UTC. Sorry, I don't have a concrete answer to what you need to change to make your code work. But focus on time zones.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Reply to Proceeds Report Drastically Different For UTC vs PST?
So I filed a bug. I attempted to post the bug number here, twice, but the posts never appeared. Presumably they hit a spam filter, or something. Anyway, I see that the bug has been closed as "Investigation Complete - Unable to diagnose with current information". And no hint what additional information they need. I had attached screenshots very much like the ones @mediaspree posted at the top of this thread. This is beyond frustrating. Apple, WFT? The existence of the bug is bad enough, but just closing my bug report is so rude.
Aug ’24
Reply to Import GPX File Works on iPad but not on iPhone
I have applied the changes as you have recommended but the other app still seems to "override" my app. Any suggestions on how to overcome this challenge? I don't think it's fixable. "File a bug" ha ha ha ha ha ha ha ROFL. It's worth checking exactly how this other app has defined its UTI. This is difficult, unless it is installable on your Mac; in that case you should be able to inspect its info.plist. FYI here is an Apple-recommended UTI for GPX, supplied to me by DTS in 2019: <key>UTImportedTypeDeclarations</key> <array> <dict> <key>UTTypeIdentifier</key> <string>com.topografix.gpx</string> <key>UTTypeReferenceURL</key> <string>https://www.topografix.com/gpx.asp</string> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>gpx</string> </array> </dict> </dict> </array> I asked about the lack of a MIME section; they said that adding that would "not affect the comparison of the two types", which I took to mean that it is safe to add.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Import GPX File Works on iPad but not on iPhone
It's important that all apps that use GPX files use the same UTI definition. If they don't, issues like this can occur. My guess is that on one of your devices you have an existing GPX-supporting app with a slightly different UTI definition and on the other you don't. http://www.topografix.com/GPX/1/1 That's the XML namespace URL, which is not what you want. The recommended UTI reference URL is: https://www.topografix.com/gpx.asp You should probably also change the UTTypeConformsTo to public.data, though I believe this is not critical. If you search the forum you might find old threads where this was discussed. I believe it was first a problem in the iOS 13 era.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to iPadOS Calculator APIs for Developers
You've asked this question before: https://developer.apple.com/forums/thread/730747 Firstly, go and read something about floating point. The issues you are seeing are inherent to how floating point works. I bet there are some great explanations out there if you search, better than anyone could write here. Using an exact decimal data type can solve some of your problems. Specifically it can fix 0.1 + 0.2 = 0.3 and your other example, because these are a consequence of the number base - 0.1 is a terminating exact value in decimal, but a recurring fraction in binary - 0.0001100110011001100.... But it can't help with functions like sqrt and sin because the results of those functions cannot be exactly represented in any number base. Mostly likely you will want to show approximations to those values by limiting the number of significant digits.
Topic: App & System Services SubTopic: General Tags:
Aug ’24
Reply to Confused between custom URL schemes and Universal linking and redirecting to the app store
One problem with custom URL schemes is that anyone can provide an app that implements them. So if your banking app relies on bankofme: URLs opening its app, it's in trouble because some free cookiedumpster game with billions of installs could have a handler for bankofme: and scam the users. Universal links don't suffer from this problem. I don't know about redirecting to the app store based on a custom URL scheme; I don't think that's possible but I may have missed something. Redirecting to the app store when a Universal Link is not opened by an app is certainly possible though. As you note, this does require a website. It can be a rather trivial one though, easily implemented in an S3 bucket for pennies a month, or similar.
Topic: App & System Services SubTopic: General Tags:
Aug ’24
Reply to Need to change the screenshots in the App Store
Is there any potential to change (the screenshots)? Not until you submit an app update. I need to change my personal name to the app name. That's... unusual :-) The rules for changing your name may depend on where you live and what the app name is. Do you really want to spend the rest of your life called Fart Juggle Pro 1000? Seriously though - if you want to show something other than your name in the App Store, you need to establish a business with that name and have a business account.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Swiftdata with Date
I'm going out of mind with the following issue. That's normal, everything related to computations on dates and times will rapidly make you mad. Obligatory xkcd: https://www.xkcd.com/2867/ In this case, the key is probably timezones. If you convert a date to a time and then back to a date you can end up with a different date, because the conversion to time is probably at midnight, and I guess midnight in Italy is 22:00 the previous day in UTC. Sorry, I don't have a concrete answer to what you need to change to make your code work. But focus on time zones.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Proceeds Report Drastically Different For UTC vs PST?
So I filed a bug. I attempted to post the bug number here, twice, but the posts never appeared. Presumably they hit a spam filter, or something. Anyway, I see that the bug has been closed as "Investigation Complete - Unable to diagnose with current information". And no hint what additional information they need. I had attached screenshots very much like the ones @mediaspree posted at the top of this thread. This is beyond frustrating. Apple, WFT? The existence of the bug is bad enough, but just closing my bug report is so rude.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Import GPX File Works on iPad but not on iPhone
I have applied the changes as you have recommended but the other app still seems to "override" my app. Any suggestions on how to overcome this challenge? I don't think it's fixable. "File a bug" ha ha ha ha ha ha ha ROFL. It's worth checking exactly how this other app has defined its UTI. This is difficult, unless it is installable on your Mac; in that case you should be able to inspect its info.plist. FYI here is an Apple-recommended UTI for GPX, supplied to me by DTS in 2019: <key>UTImportedTypeDeclarations</key> <array> <dict> <key>UTTypeIdentifier</key> <string>com.topografix.gpx</string> <key>UTTypeReferenceURL</key> <string>https://www.topografix.com/gpx.asp</string> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>gpx</string> </array> </dict> </dict> </array> I asked about the lack of a MIME section; they said that adding that would "not affect the comparison of the two types", which I took to mean that it is safe to add.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Import GPX File Works on iPad but not on iPhone
It's important that all apps that use GPX files use the same UTI definition. If they don't, issues like this can occur. My guess is that on one of your devices you have an existing GPX-supporting app with a slightly different UTI definition and on the other you don't. http://www.topografix.com/GPX/1/1 That's the XML namespace URL, which is not what you want. The recommended UTI reference URL is: https://www.topografix.com/gpx.asp You should probably also change the UTTypeConformsTo to public.data, though I believe this is not critical. If you search the forum you might find old threads where this was discussed. I believe it was first a problem in the iOS 13 era.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to iPadOS Calculator APIs for Developers
You've asked this question before: https://developer.apple.com/forums/thread/730747 Firstly, go and read something about floating point. The issues you are seeing are inherent to how floating point works. I bet there are some great explanations out there if you search, better than anyone could write here. Using an exact decimal data type can solve some of your problems. Specifically it can fix 0.1 + 0.2 = 0.3 and your other example, because these are a consequence of the number base - 0.1 is a terminating exact value in decimal, but a recurring fraction in binary - 0.0001100110011001100.... But it can't help with functions like sqrt and sin because the results of those functions cannot be exactly represented in any number base. Mostly likely you will want to show approximations to those values by limiting the number of significant digits.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Confused between custom URL schemes and Universal linking and redirecting to the app store
One problem with custom URL schemes is that anyone can provide an app that implements them. So if your banking app relies on bankofme: URLs opening its app, it's in trouble because some free cookiedumpster game with billions of installs could have a handler for bankofme: and scam the users. Universal links don't suffer from this problem. I don't know about redirecting to the app store based on a custom URL scheme; I don't think that's possible but I may have missed something. Redirecting to the app store when a Universal Link is not opened by an app is certainly possible though. As you note, this does require a website. It can be a rather trivial one though, easily implemented in an S3 bucket for pennies a month, or similar.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24