Skip to content

Commit

Permalink
Fixed issue #23
Browse files Browse the repository at this point in the history
  • Loading branch information
devedbox committed Mar 25, 2017
1 parent 1b88ae2 commit 61e4b59
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,8 @@ - (AXWebViewController *)ax_webViewController {
}

- (void)setAx_webViewController:(AXWebViewController *)ax_webViewController {
objc_setAssociatedObject(self, @selector(ax_webViewController), ax_webViewController, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
// Using assign to fix issue: https://github.com/devedbox/AXWebViewController/issues/23
objc_setAssociatedObject(self, @selector(ax_webViewController), ax_webViewController, OBJC_ASSOCIATION_ASSIGN);
}
@end
#endif
Expand Down

0 comments on commit 61e4b59

Please sign in to comment.