mirror of
https://github.com/DKJone/DKWechatHelper.git
synced 2026-07-28 21:34:31 +08:00
[v1.0.8](https://github.com/DKWechatHelper/DKWechatHelper/releases/tag/1.0.8) / 2021-05-20
what's new * 动态启动图黑屏修复(#65,#66) * 支持8.0.6 * 更新越狱包8.0.6 * 更新已注入助手的8.0.6未签名包 * 更新越狱源安装包
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
|
||||
Boolean isSuccess = notify.userInfo[@"success"];
|
||||
if (isSuccess){
|
||||
[m_MMLoadingView stopLoadingAndShowOK];
|
||||
[m_MMLoadingView stopLoadingAndShowOK:@"检测成功"];
|
||||
[self reloadTableData];
|
||||
CGPoint bottomOffset = CGPointMake(0, manager.tableView.contentSize.height - manager.tableView.bounds.size.height + manager.tableView.contentInset.bottom);
|
||||
[manager.tableView setContentOffset:bottomOffset animated:YES];
|
||||
@@ -366,7 +366,7 @@
|
||||
ScanQRCodeResultsMgr *scMgr = [[objc_getClass("MMServiceCenter") defaultCenter] getService:[objc_getClass("ScanQRCodeResultsMgr") class]];
|
||||
ScanCodeHistoryItem *item = [[objc_getClass("ScanCodeHistoryItem") alloc] init];
|
||||
item.type = @"QR_CODE";
|
||||
item.codeUrl = @"https://weixin.qq.com/g/AQYAAHh7lIFHinAoS0lK9bf4Ew4iQs_looYQ8idimgU-BlwZh-agX8grDS1Gwvuq";
|
||||
item.codeUrl = DKHelper.shared.groupURL;
|
||||
[scMgr retryRequetScanResult:item viewController:self];
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
@property (nonatomic,strong)UIView *animaView;
|
||||
@property (nonatomic,assign)int animaIndex ;
|
||||
@property (nonatomic,assign)BOOL hasNext ;
|
||||
/// 点击跳过动画,已切换到下个视图
|
||||
@property (nonatomic,assign)BOOL hasExit ;
|
||||
@property (nonatomic,strong)UILabel *textLabel;
|
||||
@end
|
||||
|
||||
@@ -93,7 +95,10 @@
|
||||
|
||||
|
||||
- (void)showControl{
|
||||
if (self.setType == 0){[self goNextVC];}
|
||||
if (self.setType == 0){
|
||||
[self goNextVC];
|
||||
self.hasExit = true;
|
||||
}
|
||||
[UIView animateWithDuration:0.25 animations:^{
|
||||
int alpha = ceil(self.controlView.alpha);
|
||||
self.controlView.alpha = (alpha + 1) % 2;
|
||||
@@ -162,6 +167,7 @@
|
||||
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
if (self.setType == 0){
|
||||
if (self.hasExit){return;}
|
||||
[self goNextVC];
|
||||
return;
|
||||
}
|
||||
@@ -175,7 +181,7 @@
|
||||
UIWindow *window = UIApplication.sharedApplication.keyWindow;
|
||||
window.rootViewController = nil;
|
||||
[UIApplication.sharedApplication.keyWindow setHidden:true];
|
||||
[UIApplication.sharedApplication.delegate.window makeKeyAndVisible];
|
||||
[UIApplication.sharedApplication.keyWindow makeKeyAndVisible];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -46,6 +46,7 @@ typedef void(^BtnBlock)(UIButton *sender);
|
||||
|
||||
@property (nonatomic,strong)dispatch_group_t checkFriendGroup;
|
||||
|
||||
@property (nonatomic,copy)NSString* groupURL;
|
||||
|
||||
/// 结束好友检测
|
||||
+ (void)endCheck;
|
||||
|
||||
@@ -102,6 +102,15 @@
|
||||
return [DKHelper tableManageWithViewFrame].tableView.backgroundColor;
|
||||
}
|
||||
|
||||
-(NSString *)groupURL{
|
||||
if (_groupURL.length) {
|
||||
return _groupURL;
|
||||
}else{
|
||||
_groupURL = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"https://gitee.com/DKJone/projects-configuration/raw/master/wxQrCode"] encoding:NSUTF8StringEncoding error:nil];
|
||||
return _groupURL;
|
||||
}
|
||||
}
|
||||
|
||||
+ (CGRect)viewFrame{
|
||||
CGFloat width = [FUiUtil screenWidthCurOri];
|
||||
CGFloat y = [FUiUtil navigationBarHeightCurOri] + [FUiUtil normalStatusBarHeight];
|
||||
|
||||
Reference in New Issue
Block a user