开发者

iOS - how to save hyperlinks in sqlite?

How to save hyperlinks in sqlite.

I tried saving it as a string but something like this has been saved in my column -

HYPERLINK "HYPERLINKHYPERLINKwwwHYPERLINK.HYPERLINKyoutubeHYPERLINK.HYPERLINKcomHYPERLINK/HYPERLINKwatchHYPERLINK?HYPERLINKvHYPERLINK=HYPERLINKurHYPERLINK_HYPERLINKairHYPERLINK_HYPERLINKPcWo

is there any special way to treat hyperlinks in iOS development.

I am 开发者_运维技巧a newbie in iOS world so any help would be appreciated.

Thanks.


Thats a bit random, but you can always remove the hyperlinks to get the URL from that string:

columnStringVar = [columnStringVar stringByReplacingOccurancesOfString:@"HYPERLINK" withString:@""];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜