问题描述:

I'm building an iPad application on landscape orientation on xcode 6.

I used size class

(hRegular wRegular)

.. And it looks good on iPad with iOS8 ..But when i ran it on iPad with iOS 7.1 .. The views is just not appearing.

I tried to target even

(hRegual wAny)

but it's the same..

The funny thing that the only size class accepted by iPad on iOS7 is (hAny wAny)

Hope that anyone can help me in this.

============================

Update

here is an example project for what I mean

iPad Project

网友答案:

When deploying an Application With Size Classes on earlier iOS versions; most size classes are backward compatible.

Following are the key points when using Size classes:

  • The app is built using Xcode version 6 or later
  • The deployment target of the app is earlier than iOS 8
  • Size classes are specified in a storyboard or xib
  • The value of the height component is not compact

For more information on this subject, Check out this Answer.

相关阅读:
Top