you are calling a UIKit method that can only be invoked from the UI thread.
mono touch开发时长遇到这样的错误: you are calling a UIKit method that can only be invoked from the UI thread.这是因为,你的代码涉及到MonoTouch.UIKit库中对象,必须通过UI主线程InvokeOnMainThread来处理才行,类似下面的代码段:using(var pool = new NSA