I want to create a button that, when pressed, will call a phone number on the iPhone. I don’t know if this is possible, but if it is I’d love for someone to help me with this.
I dont have any code for it, so someone would need to help me from start to finish.
I want to create a button that, when pressed, will call a phone number
Share
Try this out in your button action
Then in Interface Builder you should connect the
TouchUpInsideevent to the previously declared action (callPhone:) and you are done.