public void AddMenuItem(WKMenuItemIcon itemIcon, string title, Action action) { var mi = GetMethodInfo (action); var sel = GetUniqueSelector (); AddMenuItem (itemIcon, title, sel); Runtime.ConnectMethod (mi, sel); }
public void AddMenuItem(WKMenuItemIcon itemIcon, string title, Action action) { var mi = GetMethodInfo(action); var sel = GetUniqueSelector(); AddMenuItem(itemIcon, title, sel); Runtime.ConnectMethod(mi, sel); }
public virtual void AddMenuItem(WKMenuItemIcon itemIcon, string title, Selector action) { throw new PlatformNotSupportedException(Constants.WatchKitRemoved); }
public virtual void AddMenuItem(WKMenuItemIcon itemIcon, string title, Selector action) { throw new PlatformNotSupportedException("The WatchKit framework has been removed from iOS"); }