Is it okay to store auth token in a global variable using singleton pattern , and if that fails I retrieve from keychain. Basically is it ok to use auth token in a static variable throughout the app ? Will there be problems if in memory for long?
swift - Storing auth token in static global variable on iOS - Stack Overflow
评论列表(0)
- 暂无评论