Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to create a link button in iPhone?

enter image description here

Here in above figure sleeping like a baby is a link button.

I don't want to place a UITextView as this simply opens up a pickerView

How can I create a link button of similar kind in iPhone?

like image 917
Parth Bhatt Avatar asked Feb 16 '26 11:02

Parth Bhatt


1 Answers

if "sleeping like a baby" is fixed you can have image like that. Put UIButton on that of Custom type. Bind IBAction of Button like

-(IBAction)openYourLink
{
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.yoururl.com"]];
}

Hope it helps.

like image 143
Janak Nirmal Avatar answered Feb 19 '26 01:02

Janak Nirmal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!