Skip to content

Commit d49bc83

Browse files
committed
bugfix
1 parent 5305522 commit d49bc83

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Coding_iOS/Views/Cell/Login2FATipCell.m

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1414
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
1515
if (self) {
1616
// Initialization code
17+
self.backgroundColor = [UIColor clearColor];
1718
self.userInteractionEnabled = NO;
1819
if (!_tipLabel) {
1920
_tipLabel = [UILabel new];

Coding_iOS/Views/Cell/TopicContentCell.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ - (void)webViewDidFinishLoad:(UIWebView *)webView
196196
{
197197
[self refreshwebContentView];
198198
[_activityIndicator stopAnimating];
199-
CGFloat scrollHeight = MIN(webView.scrollView.contentSize.height, 15*kScreen_Height);
199+
CGFloat scrollHeight = MIN(webView.scrollView.contentSize.height, 20 * kScreen_Height);
200200
if (ABS(scrollHeight - _curTopic.contentHeight) > 5) {
201201
NSLog(@"scrollHeight: %.2f, contentHeight: %.2f, (scrollHeight - contentHeight): %.2f", scrollHeight, _curTopic.contentHeight, (scrollHeight - _curTopic.contentHeight));
202202
webView.scalesPageToFit = YES;

0 commit comments

Comments
 (0)