
cocos2d-iphone - issue #1518
Unable to retrieve/access UITextField from CCTextField
I recently upgraded to cocos2d ver 3.3.5 and since then i'm facing issues in CCTextField. I can no more access UITextField as it returns _platformTextField.nativeTextField and nativeTextField (which is readonly property) is never being assigned native text field anywhere (it should be assigned in relevant subclass of CCPlatformTextField such as CCPlatformTextFieldIOS). I'm absolutely stuck here as i need to access native UITextField for so many things such as for setting SecureTextEntry for password text fields.
What cocos2d version are you using ? 3.3.5
What iOS / Mac SDK are you using ? iOS7
Debug or Release ? Both
Which target device / target OS are you using ?
iOS only: Does this happens on device ? or on the simulator ? or on both ?
Mac only: x86 or i386 ?
Please provide any additional information below.
Comment #1
Posted on Nov 19, 2014 by Massive DogTarget device: iPhone 4S, 5/5S, 6, 6+ Target OS: iOS7 and above
Its on simulator and device, both. Its not a UI issue, its API issue. _platformTextField.nativeTextField returns null as nativeTextField is never being assigned anything anywhere.
Status: New
Labels:
Type-Defect
Priority-Medium