j'ai un problème coupé texte de UITextView, je comprends comment idon't peut mettre en œuvre Cut, par exemple copier ou coller c'est comme ça:UITextView couper le problème! (IPhone sdk)
-(IBAction)copy {
NSString *copyString = [[NSString alloc] initWithFormat:@"%@",[textPad text]];
UIPasteboard *pb = [UIPasteboard generalPasteboard];
[pb setString:copyString];
}
-(IBAction)paste {
UIPasteboard *pb = [UIPasteboard generalPasteboard];
textPad.text = [pb string];
}
mais de coupe! merci,
une réponse? : -S –