How to Create Custom Button for IPhone and iPad
In this article I will explain the procedure of creating a custom button in iPhone or iPad.
This is a simple program for beginners. In this article we create a custom button which is created in code, in other words we doesn't use Nib files. Using this button we perform the action of printing "Hello Word" on itself.
Open XCode by double-clicking on it.
Create a New XCode Project by clicking on it.
Now select Empty Application and click on Next.
Now give your project a Name. Here I use Product Name Custombutton and Company Identifier Mcn Solutions and click on Next.
Select the location where you want to save your project to and click on Create.
Now you will see only two Objective C Classes which are automatically generated by XCode.
In an Empty Application, never generate a UIViewController class if you want to create it manually.
Here we write code....
Select which Platform you want to see the output in.