What should I do to adapt my app to iOS 5.0 keeping compatibility with iOS 4

后端 未结 4 720
盖世英雄少女心
盖世英雄少女心 2021-02-10 05:05

I\'ve started playing with iOS 5 today and I\'ve seen that XCode 4.2 only let me select iOS 5 as Base SDK but not iOS 4.

Until now I\'ve overwriting drawRect: method in

4条回答
  •  礼貌的吻别
    2021-02-10 05:46

    You can put the same piece of code in both the drawRect: that iOS 4 uses and the proxy returned by [UINavigationbar appearance]. Two different code paths.

提交回复
热议问题