Reputation: 8905
How can in Apple Watch App I can create a never ending scrolling content fetched from the web?
One way is to use WKTableInterface, with each row as full screen image and the last row as a button with "Load More" action. On "Load More" action I can fetch more data and use below method to insert rows with new data.
- insertRowsAtIndexes:withRowType:
Is this a good approach? Can I fetch and add rows without user tapping on "Load More"?
Instead, can I use a vertical page based navigation style? I think no becaue pages have to be known beforehand. Right?
Upvotes: 1
Views: 502
Reputation: 4270
A "Load More" button is really your only option since there's no "did scroll" kind of callback or delegate method.
Also from the Apple Watch Programming Guide:
For tables that require more rows, consider loading only a subset of rows initially and then provide the user with controls to load more rows.
Upvotes: 1
Reputation: 12650
I guess this is the quote (from Apple Watch Human Interface Guide) that I had in mind re "seconds":
WatchKit app complements your iOS app; it does not replace it. If you measure interactions with your iOS app in minutes, you can expect interactions with your WatchKit app to be measured in seconds. So interactions should be brief and interfaces should be simple.
Upvotes: 0