iphone - crashed while dismissing uitextview in iOS 6 -


i have implemented uitextview, when dismiss done button. got crashed in ios 6 error -[uitextview setselectable:]: unrecognized selector sent

but working fine in ios 7.

-(bool)textviewshouldendediting:(uitextview *)textview1     {    [textview resignfirstresponder];     } 

i unable find issue. please me out if has idea regarding issue.

thanks in advance.

you must have return type this..

-(bool)textviewshouldendediting:(uitextview *)textview1     {       [textview1 resignfirstresponder];       return yes; // put line in code.......    } 

Comments

Popular posts from this blog

node.js - StackOverflow API not returning JSON -

ios - Apple Push Notifications + TestFlight + Enterprise wildcard provisioning profile -

android - Drag and drop in ScrollView -