tags:

views:

261

answers:

2

Is it possible to override the color of the cursor and autocorrection bubbles in a UITextView? This is done in the built-in Notes application, but I don't know if it was done by public means or not.

I can't find any reference to this in any documentation, so I'm worried that it's a private API set in the UIKeyboard or something. Am I missing something obvious?

A: 

I believe they are private API and not recommended to use..

Prakash
A: 

I found this link that described the "hidden" UIKeyboard magic. Looks like UITextTraits has a CaretColor property. Sadly, I don't think messing with this would make it through Apple's review process. Unless they didn't notice? It's possible...

http://ericasadun.com/iPhoneDocs112/interface%5Fu%5Fi%5Fkeyboard.html

Ian Henry