AppDelegate.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // AppDelegate.h
  3. // KulexiuForStudent
  4. //
  5. // Created by Kyle on 2022/3/16.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "LoginViewController.h"
  9. #import "CustomNavViewController.h"
  10. #import "CustomTabBarController.h"
  11. @interface AppDelegate : UIResponder <UIApplicationDelegate>
  12. @property (nonatomic, strong) NSData *deviceToken;
  13. @property (strong, nonatomic) UIWindow *window;
  14. @property (nonatomic, strong) CustomTabBarController *tabBarController;
  15. //记录当前界面是否支持横竖屏旋转
  16. @property (assign, nonatomic)BOOL allowAutoRotate;
  17. @property (nonatomic, assign) BOOL isShowMemoAlert;
  18. @property (nonatomic, assign) BOOL isShowFlashAlert; // 是否显示首页 news alert
  19. @property (nonatomic, strong) NSMutableDictionary *outLinkParm;
  20. - (void)showMemoAlert;
  21. - (void)initTableBar;
  22. - (void)appTrackActionAuth;
  23. - (void)initLoginView;
  24. - (void)handleNotiferSource;
  25. - (void)displayUnreadMessageCount;
  26. - (void)noteIMNewsCount:(NSInteger)count;
  27. - (void)clearIMNewsCount;
  28. - (void)refreshThemeColorAndConfig;
  29. @end