FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

行高不一定就默认 44.0 · applespen/Coding-iOS@a6c9b64 · GitHub

Commit a6c9b64

Browse files
committed
行高不一定就默认 44.0
1 parent a5a4b7a commit a6c9b64

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Coding_iOS/Controllers/MeSetting/SettingPhoneViewController.m‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ - (void)viewDidLoad {
6262
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
6363
return 3;
6464
}
65+
66+
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
67+
return 44.0;
68+
}
69+
6570
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
6671
NSString *identifier = (indexPath.row == 0? kCellIdentifier_Input_OnlyText_Cell_Phone:
6772
indexPath.row == 1? self.phoneCodeCellIdentifier:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL