我有一个奇怪的问题与UISegmentedControl。 我使用的方法设置所选段索引:UISegmentedControl setSelectedSegmentIndex问题
[self.toolbarSegmentedControl setSelectedSegmentIndex:0];
所以,问题是 - 单击处理:
- (IBAction)segmentedControlClick:(id)sender
不是在模拟器调用,但在设备经过时它被称为这种方法。为什么这样,哪里是错误的,正确的行为?
感谢您的回答和链接 – Stas 2012-01-11 11:58:50