iBeacon Demo

iBeacon demo in Swift

22
5
Swift

iBeacon Demo

iBeacon demo in Swift


How to use

Prepare

  1. Two real iDevice or more.
  2. An Apple develop account (Joined iOS Developer Program).

As Broadcaster

Launch this app in device,

after launched, You get this screen.

Broadcast Off

Press “Start Broadcast” to start broadcast the iBeacon singal.

Broadcast On

As Receiver

Launch this app in device and switch second tab on bottom.

Auto start receiving iBeacon singal.

Receiving iBeacon

When detected iBeacon singal, you can get iBeacon data like this,

Received iBeacon

In Locked Screen

iOS system auto detect iBeacon singal, when inside singal range,

iBeacon Detect

swipe up to launch this app, like Handoff continuity.

Support Devices

  • iPhone 4s or laster.
  • iPod touch (5th generation) or later.
  • iPad mini or later.
  • iPad (3rd generation) or later.