Post

Replies

Boosts

Views

Activity

Reply to App Rejected "Your app is not functional when Location Services are disabled"
The problem is that a "UIRequiredDeviceCapabilities" (array) key is missing with the values "gps" and "location-services" in the Info.plist file Don’t set “gps” unless you really need 1m accuracy; it will prevent your app from working on wifi-only iPads. I think the non-gps locations on those devices should be good enough for e.g. a dating app - unless it’s a dating app for mountaineers! Also I’m. ot convinced that this is the solution to rejections. I agree with pianosmooth above, just do what they say however ridiculous. In cases like the original post, I’d show a default location with a prominent message saying “location services disabled, tap here to go to settings”. Don’t use (0,0) as your default location, that’s confusing; I suggest something like Alcatraz Island. Don’t choose Cupertino, they will think you have somehow bypassed the restriction!
Mar ’23
Reply to Get device height with centimeter precision
It sounds like you understand the issues involved with using the accelerometer. In some cases, "sensor fusion" can be used to combine inputs from multiple sensors to get useful results; search for "Kalman Filter". I think this was first used for the Apollo navigation computer. It might be possible to combine barometric pressure data with accelerometer data to measure things in the way you want. Have you looked at the barometric pressure data? Does Core Motion already do any of this for you?
Topic: App & System Services SubTopic: Hardware Tags:
Mar ’23