How can I detect if an iOS device supports the blur effect?

后端 未结 2 1067
南笙
南笙 2021-01-02 07:46

It appears that different iOS devices render UINavigationBars with barStyle = UIBarStyleBlack and translucent = YES very differently.

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-02 08:44

    I think this question is what you want to do. Just to write conditional code for different devices:

    Determine device (iPhone, iPod Touch) with iPhone SDK

提交回复
热议问题