Purushothaman Purushothaman - 1 month ago 5
iOS Question

UITextView check whether text field is empty or not in Objective-C

i have

UITextView
which is inside the
tableview
cell
, and when i click on the "NO" option , the cell will expand , i need to pass the both text which is entered in the
textview
and image which is uploaded here,

But the problem is am not able to validate the
textview
, whether it is empty or not,

i should check whether it is empty or not, and if it is empty is need to alert the message.
enter image description here

Answer

Please use the below SO link to create custom cell with outlet

For Swift : http://stackoverflow.com/a/36426858/1142743

Objective C: http://www.appcoda.com/customize-table-view-cells-for-uitableview/