I have an issue with iPad application. I'm porting the iPhone app to iPad. In iPhone, all is working in order but when convert to iPad (Universal app), the tabbar controller looks like this
(vertical lines) Do you guys have any ideas why?
Thanks for any comments or guides.
This can not be in default TabBar. I am sure you are using custom tabbar and its layout are not managing properly in iPad.
So make some adjustment in your custom tabbar and then use it.
Hope it helps you.
Try to check autosizing mask (or autolayout) if you use them.
Then try to check if you change its frame (it could disable autosizing).
It also seems you want to draw these separators manually but tab bar appearance depends on iOS version. At general I advice you to use custom images to a whole tab bar, not its items.
Related
i am able to make my iPad app running on iPhone but the iPhone screens doesnt fit all the content in. For example my table view main text is hidden, the buttons are very much spaced from the border. I understand the spacing given in my storyboard files in too big for iPhone screen.
I want to make my app work for iPhone with very minimal changes. I dont want to create a new storyboard and rewrite everything. Please suggest a good way.
Thanks in advance.
You need to make the app Universal, make a single storyboard the main storyboard in both target's project settings and use Autolayout to position your UI elements respective of the device. Look into Size classes to keep your design responsive.
Currently I am calling a popover segue to the menu which does not be slid-in or out with swiping action.
We're currently using https://github.com/ECSlidingViewController/ECSlidingViewController, there are some other libarries that we've tried but this one works best on various screen sizes and both portrait/landscape modes. It is pretty easy to customize the transitions too.
I have existing iPhone app. Now i want it to give support for iPad app i Followed the below link (Converting Storyboard from iPhone to iPad). After implementing the suggestions given by tharkay. I run the app in iPad only Navigation bar coming properly but all components(like buttons, labels)are not resizing those are coming as iPhone size.
Can anybody help me to solve the problem?
Under your Project->Targets->General->Deployment Info make sure that in your iPad tab the right Main Interface is selected (it's your iPad storyboard name).
Use autolayout to setup the constraints on the UI Elements so that they can respond appropriately to different screen size like in your case iPad. Check out this link !
http://www.raywenderlich.com/50317/beginning-auto-layout-tutorial-in-ios-7-part-1
My apps contains various xibs(Not Using StoryBoard), I am using Auto Layout to adjust view to support various devices.
The problem is on iOS6 my views leaving 20 pixel distance for status bar, since this has changed in iOS7. I searched on net and came across approach that by adjusting delta we can overcome this issue, but this will not work when we use Auto Layout, and I do not want to change it through code so is there way to handle this issue using interface builder also?
Thanks in advance!
I also searching for set the Edge Inset Uncheck but It is also not found in the Attribute Inspector Window as shown below.
Is there any way to add a Top Layout Guide in xib?
What can I do for solve this?
See these:
iOS 7 status bar back to iOS 6 default style in iPhone app?
iOS 7 - Status bar overlaps the view
https://stackoverflow.com/search?q=ios+7+status+bar
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.