phonegap/phonegap-plugins — Issue #183: NativeControls Semantic Issue in iOS 5
Author: brennannovak
Created: 2011-10-15 23:10:13+00:00
State: open

Upon updating to iOS 5 and XCode 4.2 (in Lion) and running my PhoneGap app with NativeControls I get 13 of the following "Semantic Issue" warnings

/MyApp/phonegap-plugins/iPhone/NativeControls/NativeControls.m:210:79:{210:79-210:101}{210:77-210:78}: warning: implicit conversion from enumeration type 'UITabBarSystemItem' to different enumeration type 'UIBarButtonSystemItem' [-Wconversion,3]

The 13 errors all come from NativeControls.m file and the following 13 lines found within the createTabBarItem method

if ([imageName isEqualToString:@"tabButton:More"]) systemItem = UITabBarSystemItemMore;

The TabBar still displays inside my app, but I figured I would bring this warming to your attention!