Objective c Beacon Exam(IOS) 관련 함수 .h 파일 #import @interface MainViewController : UIViewController @property (strong, nonatomic) CLBeaconRegion *myBeaconRegion; @property (strong, nonatomic) CLLocationManager *locationManager; .m 파일//비콘 on/off 함수//비콘 모니터링 시작 - (void) BeaconDetectStart{ NSLog(@"BeaconDetectStart"); [self.locationManager startMonitoringForRegion:self.myBeaconRegion]; [self.locationManager startRangingBeaconsInRegion.. (IT)Program / IOS 2016. 11. 27. 21:20
UITabBar Image Selected 이미지가 보이지 않는현상 IOS6에서 IOS7으로 업데이트 중에 UITabBar image 설정이 바뀌게 있어서 빌드를 하게되면 이미지가 보이지 않을것이다. 기존에 setFinishedSelectedImage , withFinishedUnselectedImage 이 옵션으로 설정했다면 현재는 setFinishedSelectedImage , imageWithRenderingMode:UiImageRenderingModeAlwaysOriginal 로 바꼈다. Ex) UITabBarItem *tabBarItem1 = [rootViewController.tabBar.items objectAtIndex:0]; tabBarItem1.selectedImage = [[UIImage imageNamed:@".png"] imageWithRender.. (IT)Program / IOS 2016. 11. 24. 23:08