2
정적 라이브러리 -(NSArray*)SetImage:(UIImage *)OcrImage;
에 메소드가 있습니다.NSArray를 MonoTouch에 바인딩하십시오.
나는
NSArray [] SetImage(UIImage OcrImage);
로 MonoTouch에서이 방법을 결합해야하고 내가
NSArray[] wordArray=test.SetImage(this.imgSnapshot.Image);
그러나 응용 프로그램 충돌로 monotouch 클래스의 사용 방법을 시도 할 때 나는 메서드를 호출 할 때. 당신이 (을하지 수)하지 않으려는 C#을 선언 []
를 추가 할 수 있도록
System.InvalidCastException: Cannot cast from source type to destination type.
at (wrapper managed-to-native) object:__icall_wrapper_mono_object_castclass (object,intptr)
at MonoTouch.Foundation.NSArray.ArrayFromHandle[NSArray] (IntPtr handle) [0x0003a] in /Developer/MonoTouch/Source/monotouch/src/shared/Foundation/NSArray.cs