This question already has an answer here:
iPhone6 status bar showing zoomed in app but not on home screen [closed]
(1 answer)
Closed 8 years ago.
I've encountered a strange behavior. I began to develop an iPhone app months ago, back when iOS8 and iPhone6 were not out. But now that I've an iPhone 6+ with iOS8, all the tableviews in my app seem to be kinda "zoomed". So I tried to copy & paste my tableview code on a new fresh project and here are the results :
My app :
Test project with same code :
We can clearly see that the tableview in my app is bigger. And as I said I'm using the exact same code to generate this TableView, so what's wrong ?
I tried to convert my app to Xcode 6 size classes but this doesn't seem to be the problem.
P.S : I'm developing my app on the last Xcode version (6.1)
The cells I'm using are just standard UITableViewCell
You need to include a LaunchImage .xib in your project. Otherwise the 6-Plus treats your app as running on a plain iPhone 6 and zooms it up.
See https://developer.apple.com/library/ios/documentation/userexperience/conceptual/MobileHIG/LaunchImages.html
Related
This question already has answers here:
XCode does not recognize iPad storyboard
(1 answer)
Scenes - Use dedicated Storyboards depending iPad or iPhone
(2 answers)
Closed 7 months ago.
I'm trying to create a iPad UI for an existing iPhone app. I've created a storyboard for iPad and added a main iPad UI in the project file to
MainiPad
but it still just shows the iPhone layout, not sure what I missed. Can anyone help me figure out what step I missed?
I appreciate any help.
you can change screen size what you want need to use also you can check this content
Xcode storyboard: Why does the iPad storyboard show iPhone sized views?
This question already has answers here:
Seeing black bars at the top and bottom of the iPhone X Simulator
(11 answers)
Closed 4 years ago.
I have been searching for days now and I am really going crazy.
I have re-openend an old project last edited with xcode 9 (I did not care about the iPhone X screen until now) in my freshly updated Xcode 10.
No matter what I do I can't get my app to use the whole screen for iPhone X.
At first I noticed I was not using safe area layout guide - ok, added it for a test view, still black bars.
I'm using storyboards and have set up a test storyboard with no view controller or something else, only a single view inside the safe area and yellow background. This storyboard I have set to be the main interface.
In project settings I have enabled "Requires full screen".
In Xcode Editor everything looks good:
However, the result in simulator (and also on a friends real iPhone X) is like this:
Is someone able to help? This does NOT happen when I create a new project, but of course I would very much like to avoid using this option as the app is almost completely developed....
Thanks,
Matt
Thanks to rmaddy I changed from launch screen image to storyboard and the problem disappeared... how stupid of me to ignore that while googling.. :)
I have made a new app with storyboard, where the storyboard is currently just for iPhone 5. But the issue is, when I run this on iPhone 5 device/simulator, it shows padding at the top and bottom of the screen as if an iPhone 4 application is being run. Please see the screenshot I have attached. And help where did I go wrong.
EDIT : Actually its still not working. In iOS 8 its coming fullscreen but in iOS 7 for some reason the black padding is coming. PLease hellpppp.
EDIT - I got the issue.Apparently, in xcode 6, when Launchscreen.xib is given, it does not work for ios 7 and it works perfectly normal for ios8.
Previous answer - The issue was, in Xcode 6.0, the new project generates a LaunchScreen.xib file, but apparently you manually have to go to the General settings for the target and select the launch screen File options from the drop down. This solves the issues. :)
I have worked on this application, done 2 years back, using XIB's and Autosizing.
Now, I've upgraded this app (in Xcode 5) & I need to make changes according to iPhone 5 (4") and iPhone 4, 4s (3.5")
I've tried to put Margin layouts but these are not making any difference.
I've created quite a few apps before using similar techniques with out any complication but in this app, the view in iPhone4 has a black cut at the top and bottom of the screen.
![enter image description here][2]
This issue is not related to AutoSizing.
You're just missing the 640x1136 launch image (i.e. Default-568h#2x.png).
Add it and your app should go full screen.
PS: This happened to me when I created an iOS7 project in Xcode 5 and deleted Images.xcassets from the project targets.
reference
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
My apps use standard Apple controls. Some of them are really simple (UITableView nested in a UIView) and others are UITextView inside a UIScrollView inside a UIView
When I run the apps on my new iPhone 5, they are letterboxed. How do i update them to take advantage of the new iPhone 5 real estate?
First of all to remove the letter boxing, you let xcode know it should work on the iPhone 5 by adding an iPhone5 sized startup image which will be named Default-568h#2x.png
Straight away, your app will work without the letter box.
Then you need to move onto formatting your views to fit. From experience, every UITableView i've had has automatically resized to be longer, but most other views needed some tweaking of the Struts and Springs.