Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9e587b2

Browse files
App 去掉反馈入口
1 parent 1254605 commit 9e587b2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎Coding_iOS/Controllers/RootControllers/Me_RootViewController.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,11 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
464464
if (indexPath.section == 0) {
465465
cellHeight = indexPath.row == 0? [MeRootUserCell cellHeight]: [MeRootServiceCell cellHeight];
466466
}else{
467-
cellHeight = [UserInfoIconCell cellHeight];
467+
if (indexPath.section == 2 && indexPath.row == 1) {
468+
cellHeight = 0;
469+
}else{
470+
cellHeight = [UserInfoIconCell cellHeight];
471+
}
468472
}
469473
return cellHeight;
470474
}

‎Coding_iOS/Views/Cell/UserInfoIconCell.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1919
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2020
if (self) {
2121
// Initialization code
22+
self.clipsToBounds = self.contentView.clipsToBounds = YES;
2223
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
2324
if (!_iconView) {
2425
_iconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([UserInfoIconCell cellHeight] - 22)/ 2, 22, 22)];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /