-1

I have built a simple messaging app using jsqmessagesviewcontroller and I was wondering if there would be any way to disable a user from sharing a website url? Thanks

Ahad Sheriff
  • 1,829
  • 8
  • 24
  • 46
  • When it comes to machine filtering of human languages, I can only refer you to this video: https://www.youtube.com/watch?v=CcZdwX4noCE or `youtube dot com slash watch?v=CcZdwX4noCE` – nhgrif Jun 24 '16 at 22:43

1 Answers1

1

Maybe you can try using 'UIDataDetectorTypes'. Here are the data types it can detect:

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 }

}

nodyor90z
  • 312
  • 2
  • 4
  • 13