
Here is on how to add a button using the Interface Builder. 1. In Xcode in the Groups & File expand the Interface Builder Files (IB) then double click on the NIB file that defines the view to which view you want to add a button. 2. In IB, select Tools -> Library and drag a UIButton to the view. Resize the button and double click inside to put title "My Button". 3. ...