Apple has long argued that it restricts access to some user data and some of the iPhone’s hardware by third-party developers for privacy reasons