BaseVC+KeyboardObserve.h 503 B

12345678910111213141516171819202122
  1. //
  2. // BaseVC+KeyboardObserve.h
  3. // 乐销
  4. //
  5. // Created by 隋林栋 on 2017/1/20.
  6. // Copyright © 2017年 ping. All rights reserved.
  7. //
  8. #import "BaseVC.h"
  9. @interface BaseVC (KeyboardObserve)<UIGestureRecognizerDelegate>
  10. @property (nonatomic, strong) UIView *firstResponserView;
  11. @property (nonatomic, assign) BOOL isKeyboardObserve;
  12. //添加/移除键盘监听
  13. - (void)addKeyboardObserve;
  14. - (void)removeKeyboardObserve;
  15. //移动位置
  16. - (void)keyboardDidChangeFrame:(NSNotification *)noti;
  17. @end