Post

Replies

Boosts

Views

Activity

Reply to Objective-c iOS Unable to Share NSURL and NSString simultaneously to iMessage app
I think your code is correct. The "Check out this video!" text is never included in the iMessage app. I think that's probably a feature of iMessage. The items you add are probably interpreted as alternatives, i.e. like the text/plain and text/html content in typical emails; it will choose one of the alternatives to use, whichever is "best" in some sense. I'm not entirely sure about this though - I have more experience with the clipboard API, which is similar.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’23
Reply to Changes to hosting non-consumable in-app purchases in April 2022
can anyone tell me the recommended way to deal with this That will depend on what server-side technologies you are familiar with or are already using, and how much security you need. I use AWS, and I have a Lambda function that implements AppAttest to authorise a download from CloudFront / S3. The main disadvantage of this is the bandwidth cost. If I were starting from scratch I'd look at Cloudflare R2.
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’23
Reply to App Identifier not available after app removal
Apple advised us that for renaming app, we need to remove it from store and create a brand new app. That doesn't sound right to me. Did they tell you that in an email that you can quote here? According to https://developer.apple.com/help/app-store-connect/reference/app-information "Name .... It can be edited until you submit the app to App Review. Later, you can change the name when you create a new version" Now that you have deleted the app, I'm not sure what you can do.
Topic: Code Signing SubTopic: General Tags:
Apr ’23
Reply to Why proceeds in different currencies and countries are not equal for the same price tier?
I think Apple try to estimate the long-term trends in exchange rates. When they make a change, it does not try to align the prices with the exchange rates on that day, but rather with their forecast of what the exchange rates will be like over the next year or so. Rounding to xx.99 prices is also a complicating factor. the price tier $9.99 the price in EUR will become EUR 9.99, and consequently the sales in EUR will be anywhere from $8.7 to $9.2 (before Apple commission fee), depending on the country, at the current EUR/USD exchange rate. Proceeds from a EUR 9.99 sale will vary from 6.79 in Croatia to 7.32 in Luxembourg, because of the different VAT rates in those countries (16% to 25%). (For 15% "small business" Apple commission.) Note that years ago the prices were the same throughout the Euro-zone and everyone paid Luxembourg VAT because Apple operated through an office there. That changed a few years ago and now consumers pay their local rate of VAT. I wonder whether, if it had always been like this, Apple would have had different prices for different EU countries depending on their VAT rates.
Apr ’23
Reply to IAP for non consumable
Where do I host the PKG file? On some web server of your choice. (E.g. AWS S3 or similar.) How do I add the URL in the main app or do I have to do this in apple connect? You need to implement all the code to securely download it yourself. You don’t just “add the URL” somewhere.
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’23
Reply to Efficiently searching a LARGE GeoJson file to see if it contains a point
You need a "spatial index". Decide whether you want to do this in-memory or on-disk. If on-disk, look at the geospatial extensions for sqlite. (200 MB is an intermediate size. If it were 20 GB, you'd definitely want to do it on disk. For 200 MB, you need to ask what is more important, speed of lookup or startup time.) If you want to make your own spatial index, I recommend "Foundations of Multidimensional and Metric Data Structures" by Samet. This is not a difficult case as the data is read-only, it gets much more complicated if you are modifying it.
Topic: App & System Services SubTopic: General Tags:
Apr ’23