我使用OneSignal服務在我Xamarin iOS應用,一致的文件: https://documentation.onesignal.com/docs/xamarin-sdk-setup問題與OneSignal和Xamarin的iOS
我做了所有步驟,但如果我重寫AppDelegate的方法
OnResignActivation
DidEnterBackground
WillEnterForeground
WillTerminate
OnActivated
,我發現了一個錯誤:
ObjCRuntime.RuntimeException: Cannot get the method descriptor for the selector 'oneSignalApplicationDidBecomeActive:' on the type 'AppDelegate', because the selector does not correspond to a method
我需要覆蓋這些方法,什麼是我的錯誤?
謝謝!
的問題已經打開了這個在GitHub上:https://github.com/one-signal/OneSignal-Xamarin-SDK/issues/7這時問題沒有得到解決 - 也許有人可以在情況發生變化時進行編輯。 –