Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在上面收到此代码的此错误。有人可以帮我解释一下,这是什么意思?提前致谢。
[self setSpeedView:speedCount];
当您想要设置标签的text时,您正在尝试将标签设置为字符串。请改用此代码:
self.speedView.text = [NSString stringWithFormat:@"%d", speedCount];