123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //
- // AppDelegate.h
- // KulexiuForStudent
- //
- // Created by Kyle on 2022/3/16.
- //
- #import <UIKit/UIKit.h>
- #import "LoginViewController.h"
- #import "CustomNavViewController.h"
- #import "CustomTabBarController.h"
- #import <HTTPServer.h>
- @interface AppDelegate : UIResponder <UIApplicationDelegate>
- @property (nonatomic, strong) NSData *deviceToken;
- @property (strong, nonatomic) UIWindow *window;
- @property (nonatomic, strong) CustomTabBarController *tabBarController;
- //记录当前界面是否支持横竖屏旋转
- @property (assign, nonatomic)BOOL allowAutoRotate;
- @property (nonatomic, assign) BOOL isShowMemoAlert;
- @property (nonatomic, assign) BOOL isShowFlashAlert; // 是否显示首页 news alert
- @property (nonatomic, strong) NSMutableDictionary *outLinkParm;
- /**本地服务器*/
- @property (strong, nonatomic) HTTPServer *httpServer;
- /**是否启动了本地服务器*/
- @property(nonatomic,assign)BOOL isServiceStart;
- @property (nonatomic, strong) NSString *serverPort;
- @property (nonatomic, strong) NSMutableDictionary *messageDict;
- - (void)showMemoAlert;
- - (void)initTableBar;
- - (void)appTrackActionAuth;
- - (void)initLoginView;
- - (void)handleNotiferSource;
- - (void)displayUnreadMessageCount;
- - (void)noteIMNewsCount:(NSInteger)count;
- - (void)clearIMNewsCount;
- - (void)refreshThemeColorAndConfig;
- @end
|