Check if iOS app is live in app store

前端 未结 6 1269
迷失自我
迷失自我 2020-12-28 19:23

Is it possible somehow to code like below in iOS app ?

if(app is live in app store)
{
   //Do something
}
else
{
  //Do other thing
}

I wan

6条回答
  •  孤独总比滥情好
    2020-12-28 20:14

    I faced a similar situation in my app. At least I think I did, I'm not sure I'm entirely understanding your question.

    In my app I have users with accounts create content. I don't want developer content (or Apple employees content) from polluting the public content. I have a "test" bit in the user data structure that gets turned on and test content is not visible to the public. I've not submitted to the App Store yet but I'll need to work with Apple to make sure that their accounts have this test bit turned on.

    If this isn't your goal, well, never mind then! :- )

提交回复
热议问题