Check if app is ad-hoc|dev|app-store build at run time

前端 未结 3 1991
醉酒成梦
醉酒成梦 2020-12-05 08:10

I\'d like to check this for build information in a debugging screen. Is there a way to check this at runtime?

I realize that I could set compiler flags for the buil

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-05 08:52

    This is probably what you're looking for. Abhi has a good, thorough explanation and this gist has the actual code:

    https://github.com/blindsightcorp/BSMobileProvision

提交回复
热议问题