using TINK.Model.Device;
using Xamarin.Forms;
using TINK.iOS.Device;
using UIKit;
using Foundation;
[assembly: Dependency(typeof(ExternalBrowseService))]
namespace TINK.iOS.Device
{
public class ExternalBrowseService : IExternalBrowserService
{
/// Opens an external browser.
/// Url to open.
public void OpenUrl(string p_strUrl)
{
var l_oUrl = NSUrl.FromString(p_strUrl);
if (l_oUrl == null)
return;
UIApplication.SharedApplication.OpenUrl(l_oUrl);
}
}
}