Created
September 11, 2017 18:59
-
-
Save sleimanzublidi/0485834ff2ffef17d4a856a5520e56ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!string.IsNullOrWhiteSpace(webContentViewModel.Url)) | |
{ | |
var safariViewController = new SFSafariViewController(new NSUrl(webContentViewModel.Url)) | |
{ | |
PreferredBarTintColor = Theme.Colors.NavigationBarBackgroundColor, | |
PreferredControlTintColor = Theme.Colors.AccentColor | |
}; | |
return this.viewPresenter.Show(safariViewController); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment