在最新版本的Xcode8.2Beta中使用stringByReplacingOccurencesOfString()时遇到问题。使用该函数时,Xcode显示string的值类型没有成员。varclockworkSmsUrl="https://api.clockworksms.com/http/send.aspx?"+"key=123456789abcd"+"to="+usersNumber!+"&content="+usersTextMessage!clockworkSmsUrl.stringByReplacingOccurrencesOfString("",withString:"+