Thursday, 9 June 2016

IBAction Manual Code in iOS - Objective C

1) Go to view controller.h, write below code

-(IBAction) btnAction:(id)sender



2) Go to main.storyboard, Drag and Drop UIButton

3) Right Click UIBUtton, Select "touch up inside" drag and drop to "view controller"



4) Go to view controller.m, implement method


No comments:

Post a Comment