forked from Blendman974/faceclaw
Port Compass to iOS
This commit is contained in:
1 parent
5ae2c245c6
commit
2b3e068a23
32 files changed
+490
-56
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/** Short, foreground Core Location lookups for the glasses' true-north correction. */
|
||||
@interface FaceclawLocation : NSObject
|
||||
+ (instancetype)shared;
|
||||
- (BOOL)hasPermission;
|
||||
- (void)requestPermission:(void (^)(BOOL granted))completion;
|
||||
- (void)requestDeclination:(void (^)(double degrees, double latitude, double longitude, NSString *error))completion;
|
||||
@end
|
||||
Reference in new issue
Block a user