这些是
的结果method_getTypeEncoding(class_getInstanceMethod(MKAnnotationView.class, @selector(setImage:)))
method_getTypeEncoding(class_getInstanceMethod(MKAnnotationView.class, @selector(image)))
7.0:
v12@0:4^{UIImage=#^vf{?=b1b3b1b1b1b16b2}}8
^{UIImage=#^vf{?=b1b3b1b1b1b16b2}}8@0:4
和6.1:
v12@0:4@8
@8@0:4
我不明白为什么它是^{...
而不是@
。这导致我在Rubymotion中遇到问题。
提前致谢!
答案 0 :(得分:0)
你可能想看看Promotion,它是MapKit support(我写的)。它可以很容易地绘制地图屏幕并在地图上添加注释(并自定义它们的外观)。
答案 1 :(得分:0)
他们在RubyMotion 2.7中修复了它