user141302
user141302

Reputation:

clicking UIButton?

is it possible to click UIButton and to call its action through Programming without clicking?

Upvotes: 0

Views: 292

Answers (3)

DevDreamers
DevDreamers

Reputation: 23

Well I guess you can get a little help from a friend of mine that help me a lot to get start with objective C and Iphone development Basics. maybe you already have seen him but if not here is the link http://www.youtube.com/watch?v=B7jB0D3Y7Ws&feature=channel pretty easy to understand.

Upvotes: 0

William Remacle
William Remacle

Reputation: 1470

You can just simply call the method associated with your UIButton action as follow :

- (IBAction)myMethod:(id)sender {
    // some code here
}

When you want to fire an action :

[self myMethod:nil];

Upvotes: 4

GhostRider
GhostRider

Reputation: 1207

Yes you can do it programmatically just send a event to button

Upvotes: 0

Related Questions