PDA

View Full Version : UITextField Custom Cursor?




Darkroom
Sep 5, 2009, 06:57 AM
this is a long shot, but: does anyone know of an undocumented method to change the color of the default cursor of a UITextField, or even how to override the blinking cursor image?



Darkroom
Sep 5, 2009, 09:25 PM
unfortunately, unlike cocoa, the following is both undocumented and unsupported in the iPhone SDK... for now...

[myTextField setInsertionPointColor:[UIColor whiteColor]];

perhaps 3.1 supports this? i haven't tried it yet.