tags:

views:

22

answers:

1

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...

+1  A: 

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];.

Jacob Relkin