Upgrade to Pro — share decks privately, control downloads, hide ads and more …

So you want to build an ARKit app- Swiftfest 2019

So you want to build an ARKit app- Swiftfest 2019

ARKit has shown how AR can be integrated into apps to make them more engaging and fun. Although AR has mainly been introduced by games such as Pokémon Go!, it has many practical applications. If you are thinking about using ARKit in your app, this talk is for you. Last year I co-authored the ARKit by Tutorials book, and developed a couple of ARKit apps. This talk covers challenges I experienced building these apps such as ensuring good app performance, handling problematic scenarios and improving plane detection. Learn how to use ARKit to its full potential, keep your AR apps performant and deliver a polished end-user experience.

Namrata Bandekar

July 30, 2019
Tweet

More Decks by Namrata Bandekar

Other Decks in Technology

Transcript

  1. GETTING STARTED ▸ Device Compatibility ▸ A9 processor (iPhone 6)

    or later ▸ iOS 11 and up ▸ Handle unsupported devices and iOS versions
  2. GETTING STARTED ▸ Device Compatibility ▸ A9 processor (iPhone 6)

    or later ▸ iOS 11 and up ▸ Handle unsupported devices and iOS versions AR Required
  3. GETTING STARTED ▸ Device Compatibility ▸ A9 processor (iPhone 6)

    or later ▸ iOS 11 and up ▸ Handle unsupported devices and iOS versions
  4. GETTING STARTED ▸ Device Compatibility ▸ A9 processor (iPhone 6)

    or later ▸ iOS 11 and up ▸ Handle unsupported devices and iOS versions AR Optional
  5. TRACKING ▸ ARAnchors fix position in real world ⚓ ▸

    ARAnchors adjust for drift ▸ Don’t use feature points to place content
  6. TRACKING ▸ ARAnchors fix position in real world ⚓ ▸

    ARAnchors adjust for drift ▸ Don’t use feature points to place content
  7. PERSISTING VIRTUAL CONTENT ▸ ARWorldMap - serializable ▸ Use NSSecureCoding

    protocol ▸ ARAnchors store object state and position
  8. Do ✅ Don’t ❌ Try moving around, turning on more

    lights and making sure your environment has sufficiently textured surfaces Surface detection is taking too long Move your phone slower Excessive motion detected Tap a location to place the [name of object to be placed] Tap a plane to anchor an object