i have created a custom view class which is a subclass of UIview class
@interface CustomViewController : UIView
and i am using drawRect method to display the contents of the custom view
-(void) drawRect(CGRect) rect {
}
I am able to display only strings on custom view but i want to add UITextField and UILabelField and UIButton on the custom view how can i do this. Please help me solve this problem
you can put your controls in
init...method of your custom view.EDIT