Objective cが初めてなので、例をいただければ幸いです。私がやろうとしているのは、テキストを UITextfield に入力し、IBAction の UITextView 内のテキストの出現を削除することです。
html、javascript、css のすべてを知っています。古い犬に新しいトリックを教えるのは難しいですが、それに取り組んでいます。
すべての返信に事前に感謝します。
-(IBAction)tel2{
[UIButton beginAnimations:nil context:nil];
[UIButton setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:tel2 cache:YES];
[UIButton setAnimationDelegate:self];
[UIButton setAnimationDidStopSelector:@selector(test)];
[UIButton setAnimationDuration:.5];
if(tails2.tag==11){
[tel2 addSubview:tails2];
tails2.tag=22;
textField.text = [NSMutableString stringWithFormat:@" %@", textField2.text];
}
else{
[tel2 addSubview:heads2];
tails2.tag=11;
textField.text = [NSMutableString stringWithFormat:@"%@ %@", textField.text, textField2.text];
}
[UIView commitAnimations];
}