This is a discussion on Changing UITextField Background Color Programmatically within the iPhone/iPad Programming Tutorials forums, part of the Programming Section category; Hello, Here is how to change the background color of a UITextField: Code: UITextField *EMAIL = [[[UITextField alloc] initWithFrame:CGRectMake(20, 300 ...
Hello,
Here is how to change the background color of a UITextField:
Code:UITextField *EMAIL = [[[UITextField alloc] initWithFrame:CGRectMake(20, 300 , 218, 31)] autorelease]; //creates the text field EMAIL.backgroundColor = [UIColor blackColor]; //sets the background color of the text field [self.view addSubview:EMAIL];
IF YOU NEED ANY HELP PLEASE DON'T HESITATE TO ASK BY LEAVING A REPLAY BELOW
MozyMac Founder,Chairman and CEO
MacBook Pro Unibody late 2008 2.4Ghz 4GB ram 250GB HD
MozyMac Youtube Channel