我正在尝试实施我发现的 RotatingWellProject
http://www.raywenderlich.com/9864/how-to-create-a-rotating-wheel-control-with-uikit
我对 iOS 开发非常陌生,这实际上是我的第一个应用程序 :) 当我构建项目时,我遇到了一些错误并修复了它们,但在运行时我遇到了以下错误:
2012-04-24 10:58:21.436 RotaryWheelProject[4122:207] -[NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x4b19370
2012-04-24 10:58:21.439 RotaryWheelProject[4122:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x4b19370'
terminate called after throwing an instance of 'NSException'
不难理解我遇到了一个我没有处理的异常错误,但我似乎不明白在哪里?
我纠正了一条线
@autorelease{return main(something..)}
只是返回main(something)
帮助表示赞赏。非常感谢。