Slide 1

Slide 1 text

SO YOU WANT TO BUILD AN ARKIT APP NAMRATA BANDEKAR

Slide 2

Slide 2 text

ARKIT BY TUTORIALS

Slide 3

Slide 3 text

AGENDA ▸ Getting Started ▸ Diving Deeper ▸ Do’s and Don’ts

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

PORTAL

Slide 6

Slide 6 text

PORTAL

Slide 7

Slide 7 text

PORTAL ARSKETCH

Slide 8

Slide 8 text

PORTAL ARSKETCH

Slide 9

Slide 9 text

AUGMENTED REALITY EXPERIENCE

Slide 10

Slide 10 text

AUGMENTED REALITY EXPERIENCE ▸ Detect and understand environment geometry

Slide 11

Slide 11 text

AUGMENTED REALITY EXPERIENCE ▸ Detect and understand environment geometry ▸ Render virtual 3D content

Slide 12

Slide 12 text

AUGMENTED REALITY EXPERIENCE ▸ Detect and understand environment geometry ▸ Render virtual 3D content ▸ User guidance

Slide 13

Slide 13 text

GETTING STARTED

Slide 14

Slide 14 text

GETTING STARTED ▸ Device Compatibility

Slide 15

Slide 15 text

GETTING STARTED ▸ Device Compatibility ▸ A9 processor (iPhone 6) or later

Slide 16

Slide 16 text

GETTING STARTED ▸ Device Compatibility ▸ A9 processor (iPhone 6) or later ▸ iOS 11 and up

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

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

Slide 21

Slide 21 text

GETTING STARTED ▸ Device permissions

Slide 22

Slide 22 text

GETTING STARTED ▸ Privacy and data handling

Slide 23

Slide 23 text

DIVING DEEPER

Slide 24

Slide 24 text

TRACKING

Slide 25

Slide 25 text

TRACKING ▸ ARAnchors fix position in real world ⚓

Slide 26

Slide 26 text

TRACKING ▸ ARAnchors fix position in real world ⚓ ▸ ARAnchors adjust for drift

Slide 27

Slide 27 text

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

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

TRACKING QUALITY

Slide 30

Slide 30 text

TRACKING QUALITY ▸ Ambient light

Slide 31

Slide 31 text

TRACKING QUALITY ▸ Ambient light

Slide 32

Slide 32 text

TRACKING QUALITY ▸ Ambient light

Slide 33

Slide 33 text

TRACKING QUALITY ▸ Ambient light

Slide 34

Slide 34 text

TRACKING QUALITY ▸ Ambient light

Slide 35

Slide 35 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments

Slide 36

Slide 36 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments

Slide 37

Slide 37 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments

Slide 38

Slide 38 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments ▸ Surface texture

Slide 39

Slide 39 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments ▸ Surface texture

Slide 40

Slide 40 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments ▸ Surface texture

Slide 41

Slide 41 text

TRACKING QUALITY ▸ Ambient light ▸ Static environments ▸ Surface texture ▸ Sensor data quality

Slide 42

Slide 42 text

TRACKING QUALITY

Slide 43

Slide 43 text

TRACKING QUALITY

Slide 44

Slide 44 text

TRACKING QUALITY

Slide 45

Slide 45 text

TRACKING QUALITY

Slide 46

Slide 46 text

TRACKING QUALITY

Slide 47

Slide 47 text

TRACKING QUALITY

Slide 48

Slide 48 text

PERSISTING VIRTUAL CONTENT

Slide 49

Slide 49 text

PERSISTING VIRTUAL CONTENT ▸ ARWorldMap - serializable

Slide 50

Slide 50 text

PERSISTING VIRTUAL CONTENT ▸ ARWorldMap - serializable ▸ Use NSSecureCoding protocol

Slide 51

Slide 51 text

PERSISTING VIRTUAL CONTENT ▸ ARWorldMap - serializable ▸ Use NSSecureCoding protocol ▸ ARAnchors store object state and position

Slide 52

Slide 52 text

CAPTURING THE ARWORLDMAP

Slide 53

Slide 53 text

CAPTURING THE ARWORLDMAP

Slide 54

Slide 54 text

CAPTURING THE ARWORLDMAP ▸ Use WorldMappingStatus

Slide 55

Slide 55 text

WORLD MAPPING

Slide 56

Slide 56 text

WORLD MAPPING ▸ Don’t display UI until ready

Slide 57

Slide 57 text

WORLD MAPPING ▸ Don’t display UI until ready

Slide 58

Slide 58 text

DO’S ✅ AND DON’TS

Slide 59

Slide 59 text

USE THE ENTIRE SCREEN ✅

Slide 60

Slide 60 text

COMFORTABLE AND SAFE TECHNOLOGY KISS - Keep it short and safe

Slide 61

Slide 61 text

ENABLE ONE-HANDED APP USE

Slide 62

Slide 62 text

ENABLE ONE-HANDED APP USE

Slide 63

Slide 63 text

INITIALIZATION TAKES TIME ⏳

Slide 64

Slide 64 text

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

Slide 65

Slide 65 text

GHOST EFFECT

Slide 66

Slide 66 text

GHOST EFFECT

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

DON’T ASSUME IDEAL ENVIRONMENT

Slide 69

Slide 69 text

MAPPING FROM A DISTANCE

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

SCENEKIT DELEGATES

Slide 73

Slide 73 text

SCENEKIT DELEGATES ⚠ Private Queue

Slide 74

Slide 74 text

BATTERY DRAIN!

Slide 75

Slide 75 text

SET YOUR USERS UP FOR SUCCESS

Slide 76

Slide 76 text

SET YOUR USERS UP FOR SUCCESS

Slide 77

Slide 77 text

THANK YOU! @NAMRATACODES NAMRATABANDEKAR https://tinyurl.com/swiftfest-arkit