AppDelegate.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // AppDelegate.h
  3. // KulexiuForTeacher
  4. //
  5. // Created by Kyle on 2022/3/16.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "KSTabBarViewController.h"
  9. #import "LoginViewController.h"
  10. #import "CustomNavViewController.h"
  11. #import <HTTPServer.h>
  12. @interface AppDelegate : UIResponder <UIApplicationDelegate>
  13. @property (nonatomic, strong) NSData *deviceToken;
  14. @property (strong, nonatomic) UIWindow *window;
  15. @property (nonatomic, strong) KSTabBarViewController *tabBarController;
  16. //记录当前界面是否支持横竖屏旋转
  17. @property (assign, nonatomic)BOOL allowAutoRotate;
  18. @property (nonatomic, strong) NSMutableDictionary *outLinkParm;
  19. @property (nonatomic, assign) BOOL isShowMemoAlert;
  20. /**本地服务器*/
  21. @property (strong, nonatomic) HTTPServer *httpServer;
  22. /**是否启动了本地服务器*/
  23. @property(nonatomic,assign)BOOL isServiceStart;
  24. @property (nonatomic, strong) NSString *serverPort;
  25. @property (nonatomic, strong) NSMutableDictionary *messageDict;
  26. - (void)initTableBar;
  27. - (void)requestRongCloudToken;
  28. - (void)appTrackActionAuth;
  29. - (void)initLoginView;
  30. - (void)handleNotiferSource;
  31. - (void)displayUnreadMessageCount;
  32. - (void)showMemoAlert;
  33. @end