Questions

  1. What different types of location access exist?

a) Always and When in use
b) Always and When in background
c) When in use and When in background

  1. When should you ideally ask for access to location services?

a) When your app launches
b) As soon as you want access to a user's location
c) Once the user understands why you need access to their location

  1. How do you obtain a user's current location?

a) By calling getCurrentLocation() on the location manager
b) By calling startUpdatingLocation() on the location manager
c) By calling startMonitoring(for:) on the location manager

  1. Which of the following location tracking techniques is the most battery friendly?

a) Significant location change tracking
b) Continuous location tracking
c) Visit tracking

  1. What different types of regions can you monitor?

a) Geofences and iBeacons
b) Geofences and WiFi networks
c) WiFi networks and iBeacons

  1. Up to how long could it take for region monitoring to start?

a) 5 minutes
b) 10 minutes
c) 2 minutes

  1. How can you check whether your app launched due to a significant location change?

a) By checking whether a new location is available
b) By inspecting the app's launch options
c) By implementing a special AppDelegate method

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset