mirror of https://github.com/axmolengine/axmol.git
Set textview_hidden to true on init
This commit is contained in:
parent
30fa9e80d3
commit
9067918d73
|
@ -77,6 +77,7 @@ static const int CC_EDIT_BOX_PADDING = 5;
|
|||
textField_.backgroundColor = [UIColor clearColor];
|
||||
textField_.borderStyle = UITextBorderStyleNone;
|
||||
textField_.delegate = self;
|
||||
textField_.hidden = true;
|
||||
textField_.returnKeyType = UIReturnKeyDefault;
|
||||
[textField_ addTarget:self action:@selector(textChanged) forControlEvents:UIControlEventEditingChanged];
|
||||
self.editBox = editBox;
|
||||
|
|
Loading…
Reference in New Issue