How to run application in debug mode and release mode with different api's in ios

前端 未结 2 842
野性不改
野性不改 2021-01-26 05:07

Please help me with this issue.I have to run my application in debug mode with one api starting with and in release mode I have to run another api starting with.

In debu

2条回答
  •  悲哀的现实
    2021-01-26 05:21

    Let's try:

    #ifdef DEBUG
    #define LINK_API @"LINK THAT YOU WANT"
    #else
    #define LINK_API @"LINK THAT YOU WANT"
    #endif
    

提交回复
热议问题