xcode - iOS app - Lite version or paid version -


in windows phone "app.xaml.cs" file contains following method identify whether app trial version in windows phone app.

private void application_launching(object sender, launchingeventargs e) {   var license = new microsoft.phone.marketplace.licenseinformation();    istrial = license.istrial(); } 

here istrail property returns true or false. there method available ios detect lite or paid version?

there no concept of trial in ios app store. submit 2 different apps different names - lite/pro etc. since apps different binaries, can use compile time preprocessor macros differentiate between pro , lite versions.

eg, in pro target, define lite=0, , in lite: lite=1, , in code:

#if lite //do #else //do else #endif 

just word of warning: might want check apple guidelines respect free/paid apps combo. @manujmv mentioned, don't want use words "trial" or "beta" in app name. app submitted app store should functionally complete in , should supported without asking user pay additional $$$ (i.e. no time based expiry).


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -