I got this exception:
2014-02-19 19:08:34.590 MyApp[42353:70b] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named GLKView'
This is because I tried to add a GL image to my xib file as follows:

What I want to achieve is to draw a gradient background under the view (the one with the City label)
This is probably a widespread exception because more and more experienced iOS developers may say that I don’t know what I'm doing.
My questions:
- Why is this error message?
- Can I add a GLKit View?
- What is the best way to add a gradient background?
source
share