Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have a requirement, I want to disabled toolbar in some textfield,but don't effect other textfield? #533

Closed
bianxiang opened this issue Jun 15, 2016 · 4 comments
Labels

Comments

@bianxiang
Copy link

bianxiang commented Jun 15, 2016

Hello!I have a requirement, I want to disabled toolbar in some textfield,but don't effect other textfield? how to?

@hackiftekhar
Copy link
Owner

You can set textField.inputAccessoryView = [[UIView alloc] init]; for those textFields whome you want to disable toolbar and this will work for you.

@bianxiang
Copy link
Author

bianxiang commented Jun 15, 2016

I have try ,but don't take effect ~~ can you give it a try or tell me when to set (textField.inputAccessoryView = [[UIView alloc] init];)
img_0539
image
@hackiftekhar

@hackiftekhar
Copy link
Owner

Give a try to tf.inputAccessoryView = UIView(); You are currently writing it with optional ?

@bianxiang
Copy link
Author

AHa ,thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants