We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d390597 commit 772db06Copy full SHA for 772db06
1 file changed
Coding_iOS/Controllers/FileViewController.m
@@ -131,6 +131,9 @@ - (void)loadWebView:(NSURL *)fileUrl{
131
[_activityIndicator setCenter:CGPointMake(CGRectGetWidth(_contentWebView.frame)/2, CGRectGetHeight(_contentWebView.frame)/2)];
132
[_contentWebView addSubview:_activityIndicator];
133
[self.view addSubview:_contentWebView];
134
+ [_contentWebView mas_makeConstraints:^(MASConstraintMaker *make) {
135
+ make.edges.equalTo(self.view);
136
+ }];
137
}
138
if ([self.curFile.fileType isEqualToString:@"md"]){
139
NSError *error = nil;
0 commit comments