LZBKeyBoardToolBar.h 917 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // LZBKeyBoardToolBar.h
  3. // LZBKeyBoardView
  4. //
  5. // demo地址:https://github.com/lzbgithubcode/LZBKeyBoardView.git
  6. // Created by zibin on 16/12/4.
  7. // Copyright © 2016年 apple. All rights reserved.
  8. //
  9. #pragma mark - 无表情键盘的工具条
  10. #import <UIKit/UIKit.h>
  11. @interface LZBKeyBoardToolBar : UIView
  12. /**
  13. 弹出自定义键盘和输入框工具条--无表情键盘 注意:一定是要在viewDidLayout中增加控件
  14. @param toolBarHeight 工具条的高度
  15. @param sendTextBlock 返回输入框输入的文字
  16. @return 返回LZBKeyBoardToolBar
  17. */
  18. + (LZBKeyBoardToolBar *)showKeyBoardWithConfigToolBarHeight:(CGFloat)toolBarHeight sendTextCompletion:(void(^)(NSString *sendText))sendTextBlock;
  19. /**
  20. 设置输入框占位文字
  21. @param placeText 占位文字
  22. */
  23. - (void)setInputViewPlaceHolderText:(NSString *)placeText;
  24. - (void)becomeFirstResponder;
  25. - (void)resignFirstResponder;
  26. @end