我使用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这时问题没有得到解决 - 也许有人可以在情况发生变化时进行编辑。 –