My cell has a UITextField
(bound to all the edges) with isUserInteractionEnabled
on false. So I expect that when I click the cell the didSelectRowAt
is called.
Nowm this never happens. It doesn't call the didSelectRowAt
function.
Is there any way to find out who is consuming my event? Also in the view debugger, I don't see any views on top of it.
And final, try to use
textfield.isEnable = false instead of textfield.isUserInteractionEnable = false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.