To draw graphics on the view you have to create a subclass of the UIView object and override the drawRect method. Do this as follows: Create The Subclass File New File Select the ‘Objective-C’ class icon and click Next. Change the Subclass of: option to ‘UIView’ and click Next Save the class (e.g. name as […]