What are the tab bar image sizes in XCode 5 - ios

what are the requirements for Custom images on the tab bar of an iOS project?
Do the pictures need to be transparent at all?

Here are the documents for ios 7 UI guide.
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/transitionguide/Bars.html

Related

iOS App is offset from the top of the Screen

I am developing an app (objective c) with a navigation controller. For some reason the whole app is offset from the top of the device. See below, can anyone give me some pointers as I have no idea.
Hiding the Navigation bar makes no difference, either in the storyboard or in code. The storyboard constraints all seem correct, as the title below the navigation bar moves up and down when showing and hiding the navigation bar.
This problem occurs on iPhone SE and iPhone 7, the iPad 2 is ok. The xCode version is 8.1
Any help would be appreciated.
You need to use launch.storyboard in your Project or you need to add launch screens image in your Asset Folder for all the sizes, then this black screen from top and bottom will be removed.
In App Icons and Launch Images setting, you need to set asset and launch screen file. so this black bar will disappear.

Custom Tab Bars in swift and xcode 6

I have created a custom tab bar with some of my own images for the individual tabs. However, the images are far too large for the tabs. Is there any way I can resize these images either programatically or through Xcode's own utilities so that they will be in the correct dimensions for the tabs?
Many thanks.
Xcode does not allow to resize images. I think it is better to resize image manually, not programmatically. This link describes the iOS icon standard sizes. You can easily resize images with standard Preview.app.

iPhone Tab bar icon are misaligned - iOS 7

I have an application that was initially built with iOS 4.0, but which is now iOS 7.0 + only.
I have a tab bar with 4 icons, and they used to be placed appropriately. But now, they are about 10 pixels higher than where they should be. (See images).
Before
Now
The icons, the text or the nib files have not changed. I don't know where to look. Any ideas?
Please update your image dimensions according to : Apple Human Interface Guidelines
It has been changed for iOS 7.
Adjust the tabbarItem imageInsets
navigationCtroller.tabBarItem.imageInsets = UIEdgeInsetsMake(7,0, -7,0);

ios 7 support for existing iPad app

I have existing iPad app supporting iOS 5 and 6.
Can anybody help me to list down item that I need to take care while supporting iOS 7?
One thing I noticed that in existing code ((UITableView*)self.superview) in UITableViewCell doesn't work. superview of UITableViewCell is UITableViewWrapperView that need to be fixed in existing code.
The things are:
1. Navigation bar height and view style are different
2. Status bar is transparent in iOS 7 as in iOS 6 it was opaque.
3. Small thing is about the tint color. By default it is light blue in iOS 7.
4. Button borders have been removed.
Issue's i have faced while running the app in IOS 7.
Status bar issue (view controller get overlaps 20 pixel.)
FixForStatusBarIssue
Customize alert view won't work in IOS7. (We can't customize the alert view in IOS 7.)
My Fix -> You need to customize the view exactly like u want because you can't customize alert view in IOS7.
Issues related to threads.
My Fix -> Use dispatch_queue(GCD with delay) in case of UI not responding (Presenting a view controller from background thread.)
Zbar sdk memory leaks while presenting and dismissing the SDK (more than 5 times app getting slow.)
FixForZbarMemoryLeakIssue
this are the issues i have faced. fixes i have suggested working fine for me. You just use it if you need hope it will work.
Apple's iOS 7 UI Transition guide
Read descriptions of every single element you used in your app.
And be aware of the style and position of the bars (navigation bar/tab bar/tool bar...).
iOS 7 has changed a lot in view hierarchies, you can use Reveal to make things easier.

Show status bar in splash screen in iOS 7

Is it possible to simulate iOS 6 status bar during application launch time (splash screen) in iOS 7? Basically I need to shift down the splash screen in iOS 7 on application launch time so the status bar is on the black background.
I found a solution. You can specify different launch images for iOS 7 that have black line of 40 pixels height at the top (simulating the status bar). To do that, there are 2 possibilities:
1) Using Xcode inside General settings of your app. Specify different launch screens for iOS 7 by specifying "Retina" and "Retina 4-inch" images.
2) Using plist. Set UILaunchImages.
From UI Transition Guide:
In iOS 7, an app can use a different launch image depending on which
version of iOS it’s running in. To provide different launch images,
add the UILaunchImages key to the Info.plist file and use a dictionary
to describe each launch image.More information here.

Resources