UA-17470720-3

Jump to content


Issue Information

  • #000110

  • Issue

Issue Confirmations

  • Yes (0)No (0)
Photo

RequiresEditingMode Doesn't Affect SCTextViewCell

Posted by Andrew_P on 24 April 2015 - 12:44 PM

Hey!
Even if you set the requiresEditingModeToEditPropertyValues to YES it is still possible to edit a SCTextViewCell.

Cheers

Hey Andrew,

I am not able to replicate this at all. Would you please let me know how to reproduce on (say) our TasksApp bundled sample? Thanks!

Hey Tarek,

  I think this was me being stupid! I set the SCTextViewAttributes like..
    SCTextViewAttributes *textViewAttributes = [SCTextViewAttributes attributesWithMinimumHeight:100 maximumHeight:-1 autoResize:YES editable:YES];

As i assumed if i didn't do this you couldn't edit the cell (even in editing mode). However, when i changed the editable parameter to NO. I could then edit it when the tableview was in editing mode and it was uneditable otherwise, whereas before it was always editable.

Thanks for all your help with this post and my other one! :)





0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users