AppDelegate.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //
  2. // AppDelegate.h
  3. // JSJPCoach
  4. //
  5. // Created by apple on 2017/3/10.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <BaiduMapAPI_Base/BMKMapManager.h>
  10. #import <BMKLocationkit/BMKLocationComponent.h>
  11. //语音
  12. #import <AVFoundation/AVFoundation.h>
  13. //个推
  14. #import <GTSDK/GeTuiSdk.h>
  15. // iOS10 及以上需导入 UserNotifications.framework
  16. #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
  17. #import <UserNotifications/UserNotifications.h>
  18. #endif
  19. /// 个推开发者网站中申请App时,注册的AppId、AppKey、AppSecret
  20. #define kGtAppId @"Xwi8JW15Y39g6dj0A3nwy"
  21. #define kGtAppKey @"ytEJuBO6eP70ZWxHBXfsI8"
  22. #define kGtAppSecret @"26K8KYE3Zz93WSdAk2WrJ8"
  23. //bugly
  24. #define BUGLY_APP_ID @"9318ff6ab4"
  25. //百度地图
  26. #define BaiDuMapAK @"DipP9sMjsT8r2KjDQ3NXphmcobv3TwYW"
  27. // ADCDN广告
  28. #import <ADCDN/ADCDN.h>
  29. @interface AppDelegate : UIResponder <UIApplicationDelegate>
  30. {
  31. BMKMapManager *_mapManager;
  32. }
  33. @property (strong, nonatomic) UIWindow *window;
  34. @property (nonatomic, assign) BOOL isBackgroundTask;
  35. //正在带教学员
  36. @property (nonatomic, assign) BOOL isPeriodIng;
  37. //记录当前播放语音 好做关闭处理
  38. @property (retain, nonatomic) AVSpeechSynthesizer *myAudioPlayer;
  39. //个推token
  40. @property(nonatomic,strong)NSString* token;
  41. // 本地广告是否已经展示
  42. @property (nonatomic, assign) BOOL adIsShow;
  43. @end