I've an UITabBarController. In my UIViewController a UItextView where I can select the text but when I change the View, text is kept selected. I've tried to add that code but doesn't work:
var range:NSRange = textView.selectedRange
range.length = 0
range.location = NSNotFound