當我添加以下重寫到AppDelegate中:的AppDelegate NIDAction
public override void HandleAction(UIApplication application, string actionIdentifier, NSDictionary remoteNotificationInfo, [BlockProxy(typeof(NIDAction))] Action completionHandler)
{
}
我收到以下錯誤:
Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'NIDAction' could not be found (are you missing a using directive or an assembly reference?) Notifi.iOS C:\development\notifi\Notifi\Notifi\Notifi.iOS\AppDelegate.cs 119 Active
我試圖尋找有關NIDAction的信息,但我不能找到有用的東西 - 我可以刪除這個屬性?
同樣的問題:
只是這樣做。具有NIDAction的BlockProxy會自動添加到完成處理程序,但編譯器不知道類型NIDAction。你從那以後發現了什麼? –