Storyboard in IOS 5 SDK but also target IOS 4 /3?

后端 未结 1 1524
滥情空心
滥情空心 2021-01-14 05:39

I love the idea of using storyboards, but unfortunately when I try to test this using IOS 4, I change the deployment target to IOS 4 and I can\'t compile this anymore. it sa

1条回答
  •  孤城傲影
    2021-01-14 05:55

    I don't think that there's a reasonable way of doing it.

    You could instantiate your Storyboards programatically (I think) but then you'd need something to fall back on on pre-iOS5 devices. And what would that be? Probably XIBs... which also continue to work on iOS5. You'd end up implementing everything twice. So, as I say, it may be possible but it's probably not practical.

    0 讨论(0)
提交回复
热议问题