摘要:
1.创建并初始化创建UITextView的文件,并在.h文件中写入如下代码:#import <UIKit/UIKit.h>@interface TextViewController : UIViewController <UITextViewDelegate>{ UITextView *textView;}@property (nonatomic, retain) UITextView *textView;@end在.m文件中初始化这个textview,写入代码如下:self.textView = [[[UITextView alloc] initWithFrame:. 阅读全文