что-то происходит в этом кусочке кода
- (void)pickerView:(UIPickerView *)
thePickerView didSelectRow:
(NSInteger)rowinComponent:(NSInteger)component {
if ( row ==1) {
-(IBAction)presstoconvert{
float number1 = ([initamount.text floatValue ]);
float answer = number1 *12;
result.text = [[NSString alloc]initWithFormat:@"%2.f", answer];
}
}
else ( row == 2);{
float number1 = ([initamount.text floatValue ]);
float answer = number1 /12;
result.text = [[NSString alloc]initWithFormat:@"%2.f", answer];
}
}