Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)viewDidLoad {
- [super viewDidLoad];
- if ( [CLLocationManager locationServicesEnabled] ) {
- manager = [CLLocationManager alloc];
- [manager init];
- manager.delegate = self;
- [manager startUpdatingHeading];
- }
- }
Add Comment
Please, Sign In to add comment