mirror of
https://github.com/tappollo/react-native-safari-view.git
synced 2026-01-12 17:03:09 +08:00
Merge pull request #58 from seasonyuu/master
Fix readerMode bug naoufal/react-native-safari-view#56
This commit is contained in:
@@ -44,7 +44,7 @@ RCT_EXPORT_METHOD(show:(NSDictionary *)args callback:(RCTResponseSenderBlock)cal
|
||||
}
|
||||
|
||||
// Initialize the Safari View
|
||||
self.safariView = [[SFSafariViewController alloc] initWithURL:[NSURL URLWithString:args[@"url"]] entersReaderIfAvailable:args[@"readerMode"]];
|
||||
self.safariView = [[SFSafariViewController alloc] initWithURL:[NSURL URLWithString:args[@"url"]] entersReaderIfAvailable:[args[@"readerMode"] boolValue]];
|
||||
self.safariView.delegate = self;
|
||||
|
||||
// Set tintColor if available
|
||||
|
||||
Reference in New Issue
Block a user