Add UILabel To UIActionsheet Header

Tuesday, 06 August 2013 by

In order to customize UIActionsheet header we can add an UILabel  to it. To add a uibutton to the actionsheet we need to add a toolbar to the uiactionsheet.In .h file we need to add In .m file   MettleTech BlogUSA info@mettletech.in

Add UIButton To UIActionsheet Header

Tuesday, 06 August 2013 by

In order to customize UIActionsheet header we can add an UIButton  to it.We can perform many tasks such as dismissing the action sheet in the action method of that UIButton. In .h file   In .m file /******************** adding header to action sheet ************/          

Create UIActionSheet Programatically

Tuesday, 06 August 2013 by

UIActionSheet class is being used to present the user with a set of alternatives for how to proceed with a given task.The action sheet contains an optional title and one or more buttons, each of which corresponds to an action to take. Firstly in .h file Now in your .m file in viewdidload method we

An image view object provides a view-based container for displaying either a single image or for animating a series of images. To create UIImageView programmatically for iPhone or iPad write the following code-      

A UITextField object is a control that displays editable text and sends an action message to a target object when the user presses the return button. You typically use this class to gather small amounts of text from the user and perform some immediate action, such as a search operation, based on that text. To create a

The UIScrollView class provides support for displaying content that is larger than the size of the application’s window. It enables users to scroll within that content by making swiping gestures, and to zoom in and back from portions of the content by making pinching gestures. To create a simple UIScrollView and add it to a view, write

Create Simple UILabel Programmatically

Monday, 05 August 2013 by

UILabel class implements a read-only text view. Here we are showing that how to a simple create an uilabel programmatically.        

An instance of the UIButton class implements a button on the touch screen. A button intercepts touch events and sends an action message to a target object when tapped. Here we are showing how to create a UIButton and how to add action on click of that UIButton. To create a simple UIButton and add it to a

Create Simple UIView Programmatically

Monday, 05 August 2013 by

UIView defines a rectangular area on the screen and the interfaces for managing the content in that area. Here we are showing that how to create a simple uiview programatically and adding a background color to the view.        

TOP