0
我正在开发一个应用程序,我想添加一个手机号码/电话号码。为此,我添加了代码,但是在swift 2中,它给出了一个错误,让decimalString =“”.join(components)作为NSString这段代码作为'join'不可用:调用'joinWithSeparator()'方法元素。所以我试图用return jointWithSeparator()替换代码,但这没有帮助。'join'is unavailable:call the'joinWithSeparator()'method on the sequence of elements