How to do this when WeChat returns to the circle of friends without looking at the other party’s circle of friends and disappears without refreshing it?
There are many ways to implement it. . Throw a few bricks:
- Modify the cached data stored locally and reload ViewWillAppear according to the local data each time
- Modify the data of a dictionary and load it according to the shielding result after returning.
- Expose a method to delete a friend’s content
- Delegation, the delegation method contains information to delete the corresponding friend message
All right, the above methods can be used, depending on your needs. It is definitely necessary to reload the data, but only need to Refresh the local data.