objective c - How to allow client to change their API base URL in iOS app without changing the app code? -
objective c - How to allow client to change their API base URL in iOS app without changing the app code? -
i'm developing ios app client integrates client's api, define api base of operations url in singleton object used interface api.
#define kapibaseurl @"https://myapiurl.com/api/"
the client alter api base of operations url instead of having me alter url in app code every time.
i distribute build client via test flight or send them ipa file, not code base.
what best way this? thanks.
actually, best way utilize parse , pull api urls there. can update 1 fly via parse console.
ios objective-c iphone ipad plist
Comments
Post a Comment