What is the “stringWithContentsOfURL” replacement for objective C?

后端 未结 4 766
刺人心
刺人心 2020-12-13 19:04

I found a tutorial on the net that uses the stringWithContentsOfURL command that is now deprecated as of iPhone OS 3.0. However I can\'t find out what I\'m meant to use inst

4条回答
  •  猫巷女王i
    2020-12-13 19:37

    It has been replaced with stringWithContentsOfURL:encoding:error: or stringWithContentsOfURL:usedEncoding:error:.

提交回复
热议问题