So ios 3.x has no UITextRange class…
Our class UITextInput is a component of CCTextField, this feature meet the some problem on android, different interfaces on between different API levels.
Before merge this code into master, we had better to define the lowest ios version & android api level that cocos2d-x can support.
`yangws should take a look on this case.