AppDelegate.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //
  2. // AppDelegate.h
  3. // LN_School
  4. //
  5. // Created by apple on 2017/4/5.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <BaiduMapAPI_Base/BMKMapManager.h>
  10. //百度地图
  11. #define BAIDU_APPKEY @"sQ7eGiQTERhUmRqc0F5s5AUPgpPIwhXY"
  12. //个推
  13. #import "GTSDK/GeTuiSdk.h"
  14. // iOS10 及以上需导入 UserNotifications.framework
  15. #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
  16. #import <UserNotifications/UserNotifications.h>
  17. #endif
  18. // 个推开发者网站中申请App时,注册的AppId、AppKey、AppSecret
  19. #define kGtAppId @"ornGF9x9HYAlJzJOFBkP65"
  20. #define kGtAppKey @"yVOJ0XCzgV7EG91GSf01f7"
  21. #define kGtAppSecret @"FrTFDAPpV7AXA8HJ5YN183"
  22. //bugly
  23. #define BUGLY_APP_ID @"4ac82c226a"
  24. //客服
  25. #define CUSTOMERSERVICE_APPKEY @"909255a0-4f40-11e7-a416-f12e96c638e0"
  26. @interface AppDelegate : UIResponder <UIApplicationDelegate>
  27. @property (strong, nonatomic) UIWindow *window;
  28. /**是否已登录*/
  29. @property BOOL isLogin;
  30. //推送绑定clientID
  31. @property(nonatomic,copy)NSString *token;
  32. /**PureCamera 是否开启所有裁剪尺寸*/
  33. @property (nonatomic, assign) BOOL takePhotoAllRect;
  34. /**是否驾校管理员账号 (0系统管理员 1驾校管理员)Y (2驾校普通干活的)N*/
  35. @property BOOL isSchool;
  36. //初始化页面
  37. - (void)initHomeVC;
  38. @end