Weitere ähnliche Inhalte
Ähnlich wie monoFab Ideathon Meeting (20)
Mehr von Shigeru Kobayashi (20)
monoFab Ideathon Meeting
- 16. IAMAS ローランドDG共同研究:monoFabアイデアソンミーティング
カスタマイズ方法の紹介
iOS側のコード(抜粋)
- (void)viewDidLoad
{
[super viewDidLoad];
if ([CLLocationManager
isMonitoringAvailableForClass:[CLCircularRegion class]]) {
self.locationManager = [CLLocationManager new];
self.locationManager.delegate = self;
self.proximityUUID
= [[NSUUID alloc]
initWithUUIDString:@"00000000-55BF-1001-B000-001C4D992C0B"];
self.beaconRegion
= [[CLBeaconRegion alloc]
initWithProximityUUID:self.proximityUUID
identifier:@"jp.ac.iamas"];
[self.locationManager startMonitoringForRegion:self.beaconRegion];
}
}