how to set iOS 6/7 Deltas programmatically

前端 未结 4 1585
说谎
说谎 2021-02-19 16:14

I was developing a UISplitView app by using Xcode 4.6 when I left iOS6 I had design:

\"enter

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-19 17:21

    You can create a makro for solve this problem. it is useful for me.

    #define iOS7Delta (([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0 ) ? 20 : 0 )
    

提交回复
热议问题