Tag Archives: button

Defining UIButton and UISegmentedControl actions programmatically.

As you remember from the last tutorial, we have created the glass button using UISegmentedControl. The result of the following code is shown above. There is though one problem with this code. The button is pressable, but it doesn’t do anything. Lets change that. There is a good news, all you have to do is add […]

Creating a nice looking glass button on iOS4 and iOS5

When you start developing for iPhone sooner or later you will find yourself in need of using buttons. Unfortunatelly the default round rect buttons, are quite ugly, so we need to do something in order to make our app look outstanding. Here is the trick, which uses Segmented Control. Long ago you could use an […]