Size classes support iphone landscape in iOS 7 - iphone

What size class Should i use for iOS 7 Landscape mode, since compact height layouts are not supported in iOS 7?
Should i also support the regular height orientation, but it doesnt have a regular orientation for iphone.

I'm not sure what you're looking to do is possible. I asked a very similar question and had a good answer, however the answer was that it's not really doable. Personally I left 7.0 behind.

Related

Will I need to add more horizontal constraints to old apps just so my apps look the same on new iPhone 6?

The new iPhone 6 dimensions are a bit confusing to me. Before the iPhone 6, the width was always 320 pixels (to my knowledge), so positioning buttons horizontally to dynamically look good on all iPhones prior to iPhone 6 was not hard. Now with this new width change (no longer 320 pixels in width, do we have to start adding horizontal constraints to our buttons? Or am I overlooking something obvious? What about all the apps out there prior to iPhone 6? When these apps are opened on an iPhone 6 I imagine a lot of them are going to look off?
The apps which are not targeted for iPhone 6 and are developed in xcode 5.1 will not have any affect on its aspect ratio as mentioned in apple link. Under heading 'Supporting New Screen Sizes and Scales'. But if you are including the iPhone 6 launch images and targeting the iPhone 6, 6 plus and lower devices then yes you should take care of horizontal constrains also. you can also check out the answers of this question may be it will help you.

How to get a finished iPhone 5 app to display AS IF in "compatibility mode" on iPad with retina display?

This is my first iPhone app (iPhone 5), and it's basically ready to submit to Apple except...
I'm stumped on how to get my app to display on the iPad like it would in compatibility mode if it had a 3.5 inch screen. But it has a 4-inch screen, of course. It's an iPhone 5 app. And Apple has not yet provided a compatibility mode (that I am aware of) that will display the 4-inch screen properly in compatibility mode on the iPad. Instead, compatibility mode distorts and cuts off the 4-inch layout and smushes it into a 3.5-inch compatibility mode box.
I have read all of the stackoverflow Q&A's that I could find, plus many other web pages, tried numerous approaches, but all solutions end up with my iPhone storyboard layout distorted on the iPad and/or nailed to the top left portion of the iPad screen, or both.
I've been banging my head on this for days.
I sure hope someone can help.
You know how 3.5-inch iphone apps look on the ipad in compatibility mode? That is EXACTLY how I want my iPhone 5, 4-inch screen to look on the iPad, but with the 4-inch dimensions. I do not want the app to occupy nearly all of the iPad screen. Just a box that looks like the iphone 5 app, hanging right there centered in the iPad screen. I don't have a problem with figuring out how to connect things to my view controllers, fwiw.
I don't know how to put this any more specifically. If my question is unclear, perhaps someone could help me to restate it? This is NOT a duplicate of other stackoverflow topics I have been able to find. But I'm willing to be corrected.
Hellllp! :-) Thanks in advance for any light you may be able to shed. I'm hoping to avoid starting from scratch to create a usable iPad presentation for my iPhone 5 app.
iPad doesn't work like that. I believe the reason is that the 2x button would not scale properly for the 4 inch screen.
Either way, you need to make sure your app works well for the 3.5 inch screen anyway, this may be a good time to rethink some of the design of your app to make sure it works well in a 3.5 inch screen.

iOS 5 and iOS 6 - UIWebView difference in behaviour

I am testing some HTML code on UIWebView. And am also wishing to support both iOS 5.x and iOS 6.x. But there seems to be a problem about font size associated with iOS 6.x only.
That is, under rotation, iOS 5.x would make fonts slightly smaller when changing to portrait from landscape mode (which is desirable, since portrait's width is shorter). However, UIWebView in iOS 6.x would do just the opposite.
The problem does not come up when the same HTML code is rendered in iOS Safari (both 5.x and 6.x), as font size always scales as expected during rotation.
It could be something I've missed about UIWebView, hope somebody knowledgable could help to explain this.
Also, the above problem comes up on my iPhone 5 iOS 6.1 test device. Please comment if you do or don't find any similar problem. Wish to know if it is only associated with this particular phone (or its settings) only.
Latest Update :
The above problem should be related to how the project (which started long before iOS 6 was available) is laid out. As have set up a new test project with a UIWebView and a UIView in some different basic setups, and the text autosizing during rotation seems to be ok in both ios 5 & 6. The above problem may be due to custom layout adjustment code used which is good only in iOS 5. Really wish there were more compatibility between the 2 ios versions.
Please use the viewpoint setting to see the difference in ios 5 and ios 6

Working with iphone4 as well as iphone5 [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
How to create application which will work on iphone4 as well as iphone5? I am trying to understand the hurdles behind it. But I am not able to find any apple doc related to this? What kind of things we need to do for this to make app runs well on iPhone4 as well as iPhone5.
Thank you.
Please refer images bellow!
No if you refer iPhone5 image, you can see black padding on top and bottom. But if you see iPhone4 image there is no padding. I trying to ask that How can we create iPhone application which will run on iPhone4 and iPhone5 as there is height difference in iPhone5. I am trying to create new application which needs to run on both iPhone4 as well as iPhone5. I am using xcode 4.5
For the iPhone 5 you will need to support iOS 6.
Dealing with the height differacne can be solved by make the appropriate height.
You can set the autoresize mask or if you wan to support iOS 6 only, autoLayout.

What is the best way for supporting both screen resolution of iPhone4 and iPhone5 ? - Auto layout in only iOS6

Have anyone figured out how to support both screen resolution iPhone4 and iPhone 5 ?
In iOS6 we have support of Autolayout. Can that be used for iPhone4-iPhone5 screen i.e. 320x480 and 320x568.
If we use auto layout feature for that we will have to keep deployment target minimum to iOS6. What about iOS5 than ?
What about iOS5 than ? Do we have to handle it programatically for different screen size ?
I searched web and could not find exact answer for that so posting this question though having doubt of having downvotes. Please bear with me for that. I guess this question is very basic to support new device in applications and is applicable to all developers.
If you want to support iOS 4.3 or 5 then turn off the Autolayout.Then you have to set the UIViewAutoresizing correctly either in code or interface builder.
With the autoresizingMask on UIView you can make the view stick to aside and grow with the size of the superview.
One other approach can be to design separate views for iPhone 5 and iPhone 4S.
Check screensize and load views accordingly, as in the case of universal apps.