Pergunta

I suddenly started to get this error on my project: Gesture recognisers cannot be used on prototype objects. I seems like an error in my StoryBoard. It might have stated after I upgraded to: Xcode 5.1

Does anyone know what it means? How can it be fixed?

Foi útil?

Solução

I solved the problem myself by locating all the places in my StoryBoard for which I connected TapGestureRecognizer directly to a control that was inside a custom UITableViewCell. This is strange, because in Xcode 5 it used to work and suddenly started screaming in Xcode 5.1.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top