Weekend good reads for Apple developers #2023/45

Weekend good reads is here with another pack of interesting articles to go over this weekend.

And that is it for this week. See you next time!

Weekend good reads for Apple developers #2023/43

It's almost halloween here, but our regular list of great reads is not spooky at all!

Wrapping up for this weekend and see you next time in November!

Vision Pro limits access to device cameras for application developers

With more details on Apple Vision Pro being available during WWDC23, developers found out that in current release of visionOS access to outward facing cameras will not be provided to third-party applications.

The only access apps could get is simulated camera with user's Digital Persona (and only if user approves access). This camera will act like front facing camera on iPhone allowing recoding of user's face reconstructed using ML model.

In order to build immersive AR experiences developers have to rely on ARKit entities and scene understanding capabilities.

Reference: Vision Pro keeping camera access under lock and key compared to iPhone and iPad

Apple starts WWDC23 with huge announcements

Apple started its annual developer conference with Keynote and Platform State of the Union. First day of WWDC is packed with announcements.

Mac hardware

Apple unveils MacBook Air 15" with M2, and M2 Ultra powered Mac Studio and Mac Pro. The new ‌MacBook Air‌ starts at $1,299. Prices for the second generation Mac Studio start at $1,999. Mac Pro starts at $6999.

MacBook Air 13" with M2 chip is now starting at $999.

iOS / iPadOS 17

iOS 17 gets new features focusing on communications and sharing. Contacts app is revamped with emphasis on photos and typography. Standby view is added for iPhone.

iPadOS has more customization for Lock Screen. Widgets now could be interacted with.

Also, AirDrop now has new experience when users hold their phones close to each other.

macOS 14 Sonoma

macOS 14 Sonoma now has "Game Mode" which improves performance for games, minimizes delays. macOS also gets interactive widgets that could be placed everywhere.

Safari gets a lot of privacy and security improvements. Improved support for web apps is announced.

watchOS 10

watchOS 10 brings support for widgets. New design language is introduced.

tvOS 17

tvOS 17 gets support for Continuity Camera hinting on new tvOS-powered devices with camera hardware.

Vision Pro and visionOS

Apple unveils Vision Pro mixed reality headset. Price is starting with $3,499, US sales are expected to start early next year. Other countries to follow later.

Device has 12 cameras, 6 microphone and many other sensors. Also, device has external display that could show user’s eyes (feature is called EyeSight). During FaceTime calls device will show face by using trained ML model and device cameras.

Vision Pro will be able to run iOS and iPadOS apps in windowed mode. Also, headset supports direct 3D experiences built using RealityKit, ARKit. Unity is also supported as development framework.

Windowed apps could be powered by SwiftUI which is updated to better support depth.

Apple to host labs in multiple cities for developers to try their apps on real device before public launch. Simulator is available as a part of development tools.

visionOS SDK is to be available later this month.

Agreements update

The App Store Review Guidelines, the Apple Developer Program License Agreement, and the Apple Developer Agreement have been updated to support updated policies and upcoming features, and to provide clarification. Please review the changes below and accept the updated terms as needed.

App Store Review Guidelines
  • Added to 2.5.18: “Apps that contain ads must also include the ability for users to report any inappropriate or age-inappropriate ads.”
  • Revised bullet point 11 of 3.1.2(a): “Cellular carrier apps may include auto-renewing music and video subscriptions when purchased in bundles with new cellular data plans, with prior approval by Apple. Other auto-renewing subscriptions may also be included in bundles when purchased with new cellular data plans, with prior approval by Apple, if the cellular carrier apps support in-app purchase for users. Such subscriptions cannot include access to or discounts on consumable items, and the subscriptions must terminate coincident with the cellular data plan.”
  • Added to 4.1: “Submitting apps which impersonate other apps or services is considered a violation of the Developer Code of Conduct and may result in removal from the Apple Developer Program.”
  • Revised 4.4: “Apps hosting or containing extensions must comply with the App Extension Programming Guide, the Safari App Extensions Guide, or the Safari Web Extensions documentation and should include some functionality, such as help screens and settings interfaces where possible.”
  • Revised 4.4.2: “Safari extensions must run on the current version of Safari on the relevant Apple operating system.”
Developer Program License Agreement
  • Purpose; Definitions; Sections 2.6, 3.2, 3.3.4, 3.3.38, 3.3.63, 5.1, 6.3, 6.6, 7, 7.3, 7.5, 7.6, 14.2; Attachment 7: Specified requirements and functionality for apps on visionOS.
  • Definitions: Updated requirements for Corresponding Products.
  • Definitions; Section 3.1: Specified requirements for universities and their Authorized Student Developers.
  • Definitions; Section 3.3.62: Specified requirements for use of the Tap to Present ID API.
  • Definitions; Sections 3.3.40, 3.3.64, 5.1, 10; Attachment 10: Specified requirements for use of mobile device management (MDM).
  • Definitions; Section 3.3.65: Specified requirements for use of the iWork Document Exporting API.
  • Definitions; Section 3.3.67: Specified requirements for use of the Sensitive Content Analysis Framework.
  • Definitions; Attachment 3: Updated requirements for development of Passes.
  • Section 3.3.9: Added requirements for use of third-party SDKs and certain APIs, clarified restrictions on use of data derived from a device.
  • Section 3.3.42: Added requirements for use of certain Apple Pay APIs.
  • Section 3.3.63: Specified requirements for providing a partially immersive experience in an app.
  • Section 3.3.66: Specified requirements for the use of the Shallow Depth and Pressure feature.
  • Section 6.7: Added information on App Analytics.
  • Attachment 2: Clarified requirements for use of the In-App Purchase API.
Apple Developer Agreement
  • Sections 4, 6: Updated requirements for access to and use of pre-release materials.

Beta download: Operating Systems

Apple Developer:

Apple Newsroom:

References:

Weekend good reads for Apple developers #2023/5

It's already February... Well, we still have couple of interesting reads for you.

And, in case you missed it – couple of books are available for free, maybe you'll find something useful there. See you next week!

Great example of RoomPlan SDK usage by Shopify

Shopify shared great demo of RoomPlan SDK available in iOS 16.

https://twitter.com/StrangeNative/status/1547227797793284096

RoomPlan is used to virtually remove any furniture and show room as if it was empty.

RoomPlan SDK provides developer with instruments to easily scan the room and export measurements in USD or USDZ formats compatible with existing 3D modeling software.

Apple Developer: Introducing RoomPlan