NSString within a link
Posted
by MN
on Stack Overflow
See other posts from Stack Overflow
or by MN
Published on 2010-03-13T22:06:33Z
Indexed on
2010/03/13
22:15 UTC
Read the original article
Hit count: 362
Hi, I have a UIWebView that loads a link, http://www.google.com/a/datacommsales.net. But I want to have the datacommsales.net part interchangable. What I would like it to be is http://www.google.com/a/stringOne, stringOne being the NSString, so I can set the value of the string and change the link without editing the code. But the link is inside quotes, @"http://www.google.com/a/datacommsales.net", so it doesn't recognize the string. How could I include the string's value as part of the link? Any help is appreciated.
© Stack Overflow or respective owner