new login style
This commit is contained in:
@@ -125,7 +125,7 @@ API_AVAILABLE(ios(10.0)){
|
||||
// 判断为本地通知
|
||||
NSLog(@"iOS10 前台 收到本地通知:{\\\\nbody:%@,\\\\ntitle:%@,\\\\nsubtitle:%@,\\\\nbadge:%@,\\\\nsound:%@,\\\\nuserInfo:%@\\\\n}",body,title,subtitle,badge,sound,userInfo);
|
||||
|
||||
[self showAlert:title message:body];
|
||||
//[self showAlert:title message:body];
|
||||
[center removeAllPendingNotificationRequests];
|
||||
}
|
||||
completionHandler(UNNotificationPresentationOptionBadge|UNNotificationPresentationOptionSound|UNNotificationPresentationOptionAlert);
|
||||
|
||||
@@ -145,11 +145,11 @@ NSString *const kShowUserTested = @"kShowUserTested";
|
||||
|
||||
NSTimeInterval time = [UD_STADARDUD doubleForKey:kMaskeTime];
|
||||
if (time == 0) {
|
||||
//默认15 分钟
|
||||
time = 15 * 60;
|
||||
//默认17.5 分钟
|
||||
time = 17.5 * 60;
|
||||
//time = MASKTIME_DEFAULT;
|
||||
}
|
||||
time = 5;
|
||||
//time = 5;
|
||||
return time;
|
||||
|
||||
}
|
||||
|
||||
@@ -96,6 +96,10 @@ const static NSInteger GIGADB_USER_VER = 0;//当前数据库版本号
|
||||
[_store putObject:_userArr withId:userTableId intoTable:GIGA_USER_TABLE];
|
||||
[GiGaUserDefault saveUserId:userTableId];
|
||||
|
||||
if (user.minute != 0) {
|
||||
[GiGaUserDefault savaMaskeTime:user.minute * 60];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//已登录
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
titleLabe.frame = tabHeader.bounds;
|
||||
titleLabe.textAlignment = NSTextAlignmentCenter;
|
||||
titleLabe.text = self.title;
|
||||
titleLabe.font = GIGA_TEXTFONTMEDIUM(12);
|
||||
titleLabe.font = GIGA_TEXTFONTMEDIUM(15);
|
||||
titleLabe.textColor = GIGA_MAIN_BGCOLOR;
|
||||
[tabHeader addSubview:titleLabe];
|
||||
UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(0, tabHeader.frame.size.height -0.5, Screen_Width, 0.5)];
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Navi_Cell"];
|
||||
cell.textLabel.font = GIGA_TEXTFONTMEDIUM(15);
|
||||
cell.textLabel.font = GIGA_TEXTFONTMEDIUM(18);
|
||||
cell.textLabel.textColor = GIGA_MAIN_BGCOLOR;
|
||||
if (indexPath.section == 0) {
|
||||
cell.textLabel.text = _optionsArr[indexPath.row];
|
||||
|
||||
Reference in New Issue
Block a user