240 发简信
IP属地:福建
  • ZFPlayer 全屏播放导致 导航栏上移、列表变窄...

    抄自github-issues,实测好用 新建UIViewController+ZFPlayerFixSafeArea 文件,复制代码,运行~~...

  • iOS 函数、指数、对数、取整、取余、绝对数等

    1、三角函数 double sin (double);正弦 double cos (double);余弦 double tan (double)...

  • iOS 调用短信发送指定内容

    使用: -(void)sendMessage:(UIButton *)btn{NSString *message =@"(。•ˇ‸ˇ•。)哼!都...

  • iOS TextField 详解

    //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithF...

  • iOS TextView 详解

    //初始化并定义大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRe...

  • Masnory

    居中显示 make.center.equalTo(self.view);make.size.mas_equalTo(CGSizeMake(300...

  • 设置textView的placeholder

    - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange...

  • iOS 键盘

    直接关闭: [[[UIApplication sharedApplication] keyWindow] endEditing:YES]; [s...

  • 避免headerView停留在顶部

    //去掉UItableview headerview黏性(sticky) - (void)scrollViewDidScroll:(UIScro...