public static void ShowNotificationViewWithImage(UIImage image, string title, string message, int timerLength, Action onTouch) { //Always remove auto hide when onTouch not is filled if (onTouch == null) { timerLength = (int)NotificationView.NotificationViewShowingDuration; } UIApplication.SharedApplication.InvokeOnMainThread(() => SharedInstance.ShowNotificationViewWithImage(image, title, message, timerLength, onTouch)); }
public static void ShowNotificationViewWithImage(UIImage image, string title, string message) { UIApplication.SharedApplication.InvokeOnMainThread(() => SharedInstance.ShowNotificationViewWithImage(image, title, message, (int)NotificationView.NotificationViewShowingDuration, Dismiss)); }