Post

Replies

Boosts

Views

Activity

Reply to When is NSMotionUsageDescription shown?
But that SHOULD have said: ... Ha, I didn't even notice that; I read it as you intended, not as you wrote it. Looking again at the Core Motion docs front page, https://developer.apple.com/documentation/coremotion , it says: Important An iOS app must include usage description keys in its Info.plist file for the types of data it needs. If these keys aren’t present, the app crashes when you try to access the corresponding service. To access motion and fitness data, include NSMotionUsageDescription. To access the fall-detection service, include NSFallDetectionUsageDescription. Would you agree that that should exclude CMMotionManager?
Topic: Privacy & Security SubTopic: General Tags:
Sep ’24
Reply to Background Location Update
I think that maybe there's a way if you took a look at the new Location API's Apple released last year, I believe that allows you to resume if the app crashes in the background, but not if the user has deliberately terminated it. Edit: though that's not what Argan Tekant says in this thread: https://developer.apple.com/forums/thread/763166 and I guess they're probably right. I find it surprising though.
Sep ’24
Reply to How is CAShapeLayer implemented
As I understand CoreAnimation uses the GPU so I was wondering how is this implemented on the GPU? Or in other words, how would you do it with Metal or OpenGL? My assumption has always been that it uses this sort of approach: https://developer.nvidia.com/gpugems/gpugems3/part-iv-image-effects/chapter-25-rendering-vector-art-gpu But of course Apple don't tell us how it works, so if you care about how it is done you should implement it yourself.
Topic: Graphics & Games SubTopic: General Tags:
Sep ’24
Reply to Validity of Pointer Returned by withUnsafePointer During CPU Time Slicing
Context switches are not important here because modern devices all have multi-core processors. It doesn't need a context switch to allow another thread to modify memory, because another thread running concurrently on another core could modify memory. Regarding withUnsafePointer, I believe the pointed-to memory won't change unexpectedly; you would need to go out of your way to cause another thread to modify the object. I'm not an expert on Swift concurrency, but I'd like to think this should be difficult to get wrong.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Reply to When is NSMotionUsageDescription shown?
Thanks for your reply. I did notice that the text you've quoted doesn't include CMMotionManager, but I think I assumed that CMMotionManager was "obviously" included in "APIs that access the device's motion data", and that the docs were mentioning only the other less-obvious ones. In practical terms, it's obvious to the user that an app is "monitoring their motion" when the user interface is changing based on that motion. Correct, but it's also obvious to the user that the app is accessing their location when it's flashing a blue spot on a map, yet I still get my apps rejected because my location usage string "doesn't include an example"! So - if I'm using CMMotionManager, and not any of the other listed APIs, do I need to include the usage description string to get approved? I've just had an update approved with the string present so including it unnecessarily doesn't seem to be an issue.
Topic: Privacy & Security SubTopic: General Tags:
Aug ’24
Reply to IAP for Listings
The essential question is whether the paid-for service is delivered in the app. Examples: a supermarket app where you pay for physical groceries to be delivered to your door does not have to use IAP. A game where you buy weapons that your in-game character uses does have to use IAP. There are of course some grey areas and I don't know most of the rules. Autotrader is interesting. If it were still just a paper magazine, I would say that the advert you pay for is clearly delivered outside the app. But I guess that now they have an app where the listings appear. So I don't know what's going on there. If you want to describe your business model in more detail, someone might have some advice. But you are probably best off reading the rules yourself. They are not completely incomprehensible.
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’24
Reply to Trying to set my company up to submit apps and running into an email issue.
How do I get a company email address when I don’t have the domain that matches my LLC? Is your concern that Apple will require you to use an email whose domain looks like your business name in order to create the Apple account? If that is your concern, I don't think you need to worry. While my business does own a domain with a matching name, and while I do receive email sent to that domain, I believe Apple know only an email address at an entirely different domain.
Aug ’24
Reply to Support needed to certify, unbelievably, of possible exploit of mighty iOS. (Im the lucky loser, possibly)
the log below apparently reveals some kind of strange activity What makes you believe that? I don't know what the log means, but I have a suspicion that this is some sort of scam where you are contacted by a fake "technical support" person who says "look in blah blah blah, does it say 'fjnjurhtghj', if it does your device is hacked". Then you worry, and they say "don't worry, the hackers have got your Bank of Foo password, but if you quickly transfer all your money to Bank of Scam then they won't be able to steal it. Look, I've made an account for you, just click here and ignore all the warnings". Do you understand what I'm saying? Back to the original question, what makes you believe there is something wrong in that log file?
Topic: Privacy & Security SubTopic: General Tags:
Aug ’24
Reply to How long does it take to build up index relevance for new app
When I query my app name with exact match, there is only my app showing up, without any related apps. What does it mean? It means you are lucky. Plenty of people find their app down at number 117 even for an exact search on the app name. You probably need to put as much effort into marketing, advertising etc. as you have put into developing the app. And you need a business model that takes into account the cost of doing that.
Aug ’24
Reply to Developer account terminated without warning or explaination
https://www.apple.com/uk/newsroom/2024/05/app-store-stopped-over-7-billion-usd-in-potentially-fraudulent-transactions/ Apple terminated 118,000 developer accounts in 2023, down from 428,000 in 2022. That's one every 5 minutes. There are lots of posts like yours on this forum. I don't recall anyone ever replying to say that their account was re-instated. I find this terrifying.
Aug ’24