-(void)textFieldDidBeginEditing:(UITextField *)textField
{
CGRect rect=self.frame;
rect.origin.y=0;
self.frame=rect;
}
-(BOOL)textFieldShouldEndEditing:(UITextField *)textField
{
self.center=draw.view.center;
return YES;
}
-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
[textField resignFirstResponder];
return YES;
}