Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 无法在4.3模拟器上获得Uisteper工作_Iphone_Objective C_Xcode - Fatal编程技术网

Iphone 无法在4.3模拟器上获得Uisteper工作

Iphone 无法在4.3模拟器上获得Uisteper工作,iphone,objective-c,xcode,Iphone,Objective C,Xcode,如何使其在4.3模拟器上工作?它在5.0上运行得非常好 有没有办法让它发挥作用?还是不可能 这是我正在使用的代码 - (IBAction)player1stepper:(id)sender { self.player1score.text = [NSString stringWithFormat:@"%d", [[NSNumber numberWithDouble:[(UIStepper *)sender value]] intValue]]; }请看UIStepper类的第一行 UIKIT

如何使其在4.3模拟器上工作?它在5.0上运行得非常好

有没有办法让它发挥作用?还是不可能

这是我正在使用的代码

- (IBAction)player1stepper:(id)sender {

self.player1score.text = [NSString stringWithFormat:@"%d", [[NSNumber numberWithDouble:[(UIStepper *)sender value]] intValue]];

}请看UIStepper类的第一行

UIKIT_CLASS_AVAILABLE(5_0) @interface UIStepper : UIControl {
UIStepper仅可从IOS5获得