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

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -