我使用jsqmessagesviewcontroller构建了一个简单的消息传递应用程序,我想知道是否有任何方法可以禁止用户共享网站网址?感谢
答案 0 :(得分:1)
也许您可以尝试使用' UIDataDetectorTypes'。以下是它可以检测的数据类型:
struct UIDataDetectorTypes : OptionSetType {
init(rawValue rawValue: UInt)
static var PhoneNumber: UIDataDetectorTypes { get }
static var Link: UIDataDetectorTypes { get }
static var Address: UIDataDetectorTypes { get }
static var CalendarEvent: UIDataDetectorTypes { get }
static var None: UIDataDetectorTypes { get }
static var All: UIDataDetectorTypes { get }
}