How to check acceess_token user in ios?
Hi! Where better to test the relevance of the access_token on ios? In appDelegate or, for example, to make a BaseViewController and then inherit it in each view controller?
1 answer
You need to check in the model and to understand what is mvc
Find more questions by tags iOSSwift
I must refer to models, to a method and return a bool. So from what place to do the conversion? - Rasheed.Champl commented on June 10th 19 at 14:44
Here's the situation. The user wandered out, stopped at some view controller and went into the background. After 3 hours returned. At this stage, need to be checked out whether a token. Yes, the method may be a User model, but it needs to call. That's where to call? - Rasheed.Champl commented on June 10th 19 at 14:50
- alycia_Pfannerstill commented on June 10th 19 at 14:53