0
私はスクロールビューをホストするコントローラを持っています。 ScrollViewはページャーのように動作します。すべてのページは別々のUIViewControllerです。私はそれをGCに問題があることを理解したよう次の例外メッセージXamarin iOSアプリが横方向にスクロールしながらクラッシュする
objc_msgSend() selector name: setDelegate:
でスタックトレース
Thread 3 Crashed:
1 libobjc.A.dylib objc_msgSend + 16
2 App.IOS wrapper_managed_to_native_ObjCRuntime_Messaging_objc_msgSend_intptr_intptr_intptr_0 (<unknown>:1)
3 App.IOS Xamarin_iOS_CoreAnimation_CALayerDelegate_Dispose_bool (CALayerDelegate.cs:47)
4 App.IOS Xamarin_iOS_Foundation_NSObject_Finalize (NSObject2.cs:129)
5 App.IOS mscorlib_wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr + 104
6 App.IOS mono_gc_run_finalize (gc.c:311)
7 App.IOS sgen_gc_invoke_finalizers (sgen-gc.c:2537)
8 App.IOS finalizer_thread (gc.c:885)
9 App.IOS start_wrapper (threads.c:829)
10 libsystem_pthread.dylib _pthread_body + 304
以下で前後に非常に迅速にアプリがクラッシュをスワイプしてみますが。誰が何が起こったのか、何か考えがありますか?
viewcontrollerをscrollviewに追加する方法をコードに付けることができますか? –