你会添加什么来使它仍然选择一个随机数而不是数字3?
- (IBAction)Button3 { { int randomviews = rand() % 6; Label1.text = [NSString stringWithFormat:@"%i", randomviews]; }
random objective-c ios
ios ×1
objective-c ×1
random ×1