Search code examples
ioswatchkit

Paginated WKInterfaceTable


I'm experimenting with Apple's new WatchKit SDK, and I've run into a bit of missing functionality. I want to create a vertically scrolling, paginated list of full screen tiles of dynamic data for the user to swipe through. The WKInterfaceTable seems to be the only way to display dynamic content, but it doesn't support much customization, especially not pagination. How can I display this paginated user interface?


Solution

  • You can't do this with watchOS2 (you can now with watchOS3) – vertical paging simply isn't supported yet. For that I'd suggest filing an enhancement radar with Apple's bug reporting system.

    As for your assessment of using a WKInterfaceTable to generate dynamically scrolling content, I'd say it's spot on. If you have different kinds of data that you need to display, you can certainly use different types of RowController objects to do this. The only thing you really can't do at the moment is vertical paging.