抄自github-issues固灵,實(shí)測(cè)好用 新建UIViewController+ZFPlayerFixSafeArea 文件缅帘,復(fù)制代碼轴术,運(yùn)行~~...
1彼宠、三角函數(shù) double sin (double);正弦 double cos (double);余弦 double tan (double)...
使用: -(void)sendMessage:(UIButton *)btn{NSString *message =@"(??ˇ?ˇ??)哼鳄虱!都...
//初始化textfield并設(shè)置位置及大小 UITextField *text = [[UITextField alloc]initWithF...
//初始化并定義大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRe...
居中顯示 make.center.equalTo(self.view);make.size.mas_equalTo(CGSizeMake(300...
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange...
直接關(guān)閉: [[[UIApplication sharedApplication] keyWindow] endEditing:YES]; [s...
//去掉UItableview headerview黏性(sticky) - (void)scrollViewDidScroll:(UIScro...