Start a new topic
Answered

iOS SDK 3.3.0 Is calling clearCaches() still required?

In SDK 1.4 we called KCSLinkedAppdataStore.clearCaches() during a "logout" process.  Is there an equivalent in SDK 3.3.0?


Thanks

Graeme


Best Answer
Graeme,

The DataStore class has a clearCache() function.
Link here: http://devcenter.kinvey.com/ios-v3.0/reference/api/Classes/DataStore.html?noiframe=true#/s:FC6Kinvey9DataStore10clearCacheFT_T_

Let me know if this is not what you were looking for or if you come across issues using it.


Thanks,
Pranav
Kinvey Support

 


Answer
Graeme,

The DataStore class has a clearCache() function.
Link here: http://devcenter.kinvey.com/ios-v3.0/reference/api/Classes/DataStore.html?noiframe=true#/s:FC6Kinvey9DataStore10clearCacheFT_T_

Let me know if this is not what you were looking for or if you come across issues using it.


Thanks,
Pranav
Kinvey Support

 

Hi Pranav


Yes, thank you.  We will use this for each DataStore object.


Thanks

Login or Signup to post a comment