开发者

How can i add view to a UITextView Object

i have a UITextView object and i want to load a label object or a set of label object over it but i dont have a view property for UITextView.The only thing i have is subViews property in UIView class which is parent class of开发者_运维问答 UITextView.How should i really go about it...


There is a method on UIView called addSubview, which takes a UIView object as a parameter.

UITextView inherits from UIView, so you can call [textView addSubview:someView];.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜