Tutorial details

Multi Function Buttons | App Code for Sale | Preview

Multi Function Buttons | iOS Tutorial

How to create multi functioning buttons

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodetutorialmultibut.htm

In this tutorial i will be showing you how to create multi functioning buttons Features:

  • 1 Label
  • 1 ImageView
  • 1 Buttons

Button that perform multiple tasks is a very handy feature in your projects rather than have one button per task in you app you can create a button that performs all the tasks at once

ViewController.h PAGE TOP

@interface ViewController :UIViewController {
IBOutlet UILabel *label;
IBOutlet UIImageView *imageview;

ViewController.m PAGE TOP

@implementation ViewController
-(IBAction)pushme {
    label.text = @"Text has been displayed";
    label.textColor = [UIColor blueColor];
        UIImage *img = [UIImage imageNamed:@"lemon.png"];
        [imageview setImage:img];

Reference PAGE TOP


0 Comments Leave a comment

Please login in order to leave a comment.

Newest first

to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.