简体   繁体   中英

NSURL Display Text - Objective-C (Xcode)

I have a NSURL displayed in a controller:

[controller addURL:[NSURL URLWithString:@"https://itunes.apple.com/us/app/stepit/id898652192?ls=1&mt=8"]];

It works, but I don't want to display the URL as the text. I want to have it say my App name, and clicking the link links to the correct URL listed above. Thoughts?

Ok. I have found that isn't possible to do exactly what I want. I am using https://bitly.com/ to shorten my URL. Thanks for all your support!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM