• 记录一些容易忘记的属性 -- UIKeyboard


        //UIKeyboardWillShowNotification这个通知在软键盘弹出时由系统发送
        //UIKeyboardWillShowNotification 通知:键盘将要显示的通知
        //在通知中心中添加监测对象,当该对象受到UIKeyboardWillShowNotification的通知时,会调用参数二所代表的方法
        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
        
        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];

  • 相关阅读:
    声明函数的是方式
    数组的相关属性和函数
    JS选择结构
    JS数据类型
    JS 运算符
    JS 变量
    响应式布局
    css的flex属性
    CSS中的度量单位
    BFC 规则
  • 原文地址:https://www.cnblogs.com/goodheart/p/3989861.html
Copyright © 2020-2023  润新知