开发者

xcode 4, Thread 1:Program received signal:"EXC_BAD_ACCESS."

When i adde开发者_JAVA百科d the code(textField.text=preTotalNumber;) in the method(onButtonPressed),the failure appeared. Can anyone please help me?thk


preTotalNumber should be an NSString, and if not you should convert it to NSString. for instance if it's an integer you can use the following:

[NSString stringWithFormat:@"%d", preTotalNumber];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜