how to lazy load contents by scroll on the watch?

I can see that Apple's message app on the watch does lazy loading - when I scroll up to the top, it shortly shows a spinner, then load older messages.

I know that Apple doesn't provide scroll delegate thus I can't get where the current scroll is now.

Do you have any idea how to detect when a user hit the top then lazy load contents?

Accepted Answer

Hi,


currently this is not possible with the API provided to us developers. As Apple's build-in Apps are not limited to the same API they simply can do things we can't do.


I suggest filing an enhancement request whenever you hit a limit of the public API.


Dirk

That's true... WatchOS 2.0 still doesn't provide enough APIs to 3rd party developers. In scroll aspect, we can't paginate pages according to scroll either. :/

how to lazy load contents by scroll on the watch?
 
 
Q