Skip to content

wjxlogo/LTTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LTTextView

带占位字符的TextView

  • 使用
     LTTextView  *textView = [[ LTTextView alloc]initWithFrame:CGRectMake(LTMargin, LTMarginBig, ScreenWidth - 2*LTMargin , 200)];
      textView.placeholderTextView.text = @"这个是占位符,请输入....";
      [self.view addSubview:textView];
    
    
      LTTextView *textView1 = [LTTextView placeholderTextView];
      textView1.frame = CGRectMake(LTMargin, 240, ScreenWidth - 2*LTMargin , 200);
      textView1.placeholderTextView.text = @"这个是测试的,请输入....";
      [self.view addSubview:textView1];
    

About

带占位字符的TextView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published