i want to add a new View Which Contain Anything in a window based application programmatically could someone tell me a step by step process to do this and also how to add controls on that new view programmatically.
i have created a new view and added a label in that now how do i add a button and i want to change the text of label when i clcik on that button?
anyone help me?
In most cases you use a ViewController. But it is possible to add a UIView directy to the window. Perhaps you can explain more what you want to do.
You can get a referens to the window (if you don’t already have one) with