iOS Development

iOS Devices

Michael L. Collard, Ph.D.

Department of Computer Science, The University of Akron

iOS Devices

Screens (WAIT)

  • Small
    • 3.5 inch, 960 x 640 px at 326 ppi, 3:2 aspect ratio (iPhone 4, 4s, iPod Touch 4)
    • 4 inch, 1,136 x 640 px at 326 ppi, 71:40 aspect ratio (iPhone 5, iPod Touch 5)
  • Large
    • 9.7 inch, 1,024 x 768 px at 132 ppi, 4:3 aspect ratio (iPad 1, 2)
    • 9.7 inch, 2,048 x 1,536 px at 264 ppi, 4:3 aspect ratio (iPad 3, 4)
    • 7.9 inch, 1,024 x 768 px at 163 ppi, 4:3 aspect ratio (iPad Mini)

Capacities

Storage

  • 8, 16, 32, 64, 128 GB

Memory

  • 256 MB, 512 MB, 1 GB

Other Features

  • Speaker
  • Microphone
  • Cellular
  • WiFi
  • GPS
    • Part of CoreLocation API
    • Location based on: GPS, Cell towers, and wifi

Sensors 1:

  • Proximity sensor
    • how close the iPhone is to your face
    • Turns off screen when the phone is put up to your ear
    • Only on the iPhone
    • UIDevice class for notifications to changes
  • Ambient light sensor
    • How much light is available (to adjust brightness of screen)
    • Not directly available via an API

Sensors 2:

  • Moisture sensor
    • Mostly for warranty
  • Touch ID (Fingerprint Sensor)
    • Authentication
    • Not directly used, but part of LocalAuthentication

Sensors 3:

  • Motion sensor/Accelerometer
    • Detects positioning so screen can change, portrait to landscape and back
    • CoreMotion API
  • Gyroscope
    • 3-axis gyroscope
    • Combine with Accelerometer: 6 axes
    • CoreMotion API
  • Magnetometer (digital compass)
    • Strength, directions of magnetic fields
    • API for notifications

Bluetooth 4

  • Bluetooth LE (Low Energy)
  • iBeacon
  • PAN (Personal Area Network) - ad hoc networks over bluetooth LE