Skip to content

Commit

Permalink
Added conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
devedbox committed Mar 21, 2017
1 parent 5d1c2b7 commit 1b88ae2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,14 @@ - (instancetype)initWithHTMLString:(NSString *)HTMLString baseURL:(NSURL *)baseU

- (void)viewDidLoad {
[super viewDidLoad];
#if AX_WEB_VIEW_CONTROLLER_USING_WEBKIT
// Change auto just scroll view insets to NO to fix issue: https://github.com/devedbox/AXWebViewController/issues/10
self.automaticallyAdjustsScrollViewInsets = NO;
self.extendedLayoutIncludesOpaqueBars = YES;
/* Using contraints to view instead of bottom layout guide.
self.edgesForExtendedLayout = UIRectEdgeTop | UIRectEdgeLeft | UIRectEdgeRight;
*/
#endif
[self setupSubviews];

if (_URL) {
Expand Down

0 comments on commit 1b88ae2

Please sign in to comment.