Start a new topic

Query callback is called twice

Why when I run a query with KCSLinkedAppdataStore:queryWithQuery: withCompletionBlock the block is called twice with the same results?

Does your store have a cache policy?
KCSCachePolicyBoth, changing it to KCSCachePolicyLocalFirst fixes the problem, thanks

With KCSCachePolicyBoth the completion block is called both when the local cache is read and when the network is queried. See
Login or Signup to post a comment