Socket

2019-02-26  本文已影响0人  d53d55a67c7b

OSI七层网络模型:
1.应用层.2.表示层.3.会话层.4.传输层.5.网络层.6.数据链路层.7.物理层

pragma mark ---输入框

-(void)footerTextView{
UIButton *btn = [[UIButton alloc]initWithFrame:CGRectMake(10, SCR_H - 160, 60, 40)];
[btn setBackgroundColor:[UIColor yellowColor]];
[btn setTitle:@"常用语" forState:UIControlStateNormal];
[btn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
[self addSubview:btn];
self.texView = [[UITextView alloc]initWithFrame:CGRectMake(btn.frame.origin.x + 60 + 10, SCR_H - 160, SCR_W / 2 + 30, 40)];
self.texView.delegate = self;
[self addSubview:self.texView];

}

// 文本视图已经开始编辑

上一篇 下一篇

猜你喜欢

热点阅读