I embedded UITabBarViewController into UIViewController in storyboard and i customise the background of tab bar and icon of tab bar item. But they looked strange.Tab bar's height is doubled and icon size of tab bar item is a little big. I use iPhone 5c with OS iOS 7 to test. Background image of tab bar is 640*98 px.Icon of tab bar item is 50*50 px. Here is the reference image.
I solved the problem. Rename image with @2x.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.