I am building a RSS feed on a tableview. When i run the app, on my iPhone could run smoothly while in ipad, it crashed and showed “Terminating app due to uncaught exception ‘NSInvalidUnarchiveOperationException’, reason: ‘Could not instantiate class named UIRefreshControl'”
I tried to run the app on my ipad simulator, it also could run smoothly. May I know what is the problem for that?
Thanks
UIRefreshControlonly exists on iOS 6. So if your iPad is running 5.1.1, you won’t be able to useUIRefreshControl, becauseUIRefreshControldid not exist in iOS 5.1.1. So when the nib decoding happens, the decoder finds"UIRefreshControl", it doesn’t know what to do with it, and it crashes.