Skip to content

istsest/FocusColorTextField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextField and TextView having text and background color when focused.

Alt text


	textField1.focusedBackgroundColor = [[UIColor yellowColor] colorWithAlphaComponent:0.3];
	textField2.focusedBackgroundColor = [[UIColor cyanColor] colorWithAlphaComponent:0.3];
	
	textView.backgroundColor = [[UIColor lightGrayColor] colorWithAlphaComponent:0.2];
	textView.focusedBackgroundColor = [[UIColor darkGrayColor] colorWithAlphaComponent:0.7];
	textView.focusedTextColor = [UIColor whiteColor];

About

The text field and text view with focus background and text color.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published