this will help I hope you expected self.tabBarItems to be an NSArray object. But here, the object refers some other instance, say instance of WebDataSource. Is it possible to show, how you have declared and populated the array tabBarItems ?
Terminating app due to uncaught exception 'NSInvalidArgumentException'. unrecognized selector sent to instance