I need to display three different kinds of cells in my WatchKit app. Basically a multiliner to report the results, and two singleliners to report either errors or a waiting spin. I am going by trial and error by using an assortment of setNumberOfRows and of setRowTypes, occasionally getting a crash, or conversely not being able to display the needed data and not quite understanding why those things happen. Apple is very stingy in the description by just saying to use setNumberOfRows when you have just a single type and setRowTypes when you have several. She is instead totally silent about how to change the type contents of the table, what would be done on iOS with reloadData. How is it possible to change the composition of the row types in the table in the best possible way?
Changing WKInterfaceTable cells types
125 views Asked by Fabrizio Bartolomucci At
1
There are 1 answers
Related Questions in WATCHKIT
- How can I create an animation like WhatsApp archive button spawn animation with SwiftUI on watchOS?
- WatchOS companion app Builds successfully but gives WCSessionDelegate error when Archiving
- Can an Apple Watch Companion App programmatically change Apple Watch background/watch face?
- How to migrate WidgetKit extensions from dual-target to single-target watchOS app?
- how to programatically trigger notification on the watch from my iOS app
- Is it possible to detect that Watch is paired with iPhone or not without having Watch target
- Flutter iOS Companion App With Watch App Error : No such module 'WatchKit' While Archiving
- Could not launch Failed to get the task for process -1 when running my WatchApp Target
- How to run a function when tapping a Node in a Scene on Apple Watch?
- Using CMHeadphoneMotionManager in independent WatchOS app to Access AirPods Pro Accelerometer Data
- How to get WCSession to continue streaming data after WatchKit app falls asleep?
- Apple Watch Series 3 (WatchOS 8.8) cannot connect/pair to Xcode v15.0.1
- In WatchKit can't access UserDefaults
- Not able to add .watchface file in xcode project
- Can is share Keychain items ios app and watch app
Related Questions in WKINTERFACETABLE
- Left align some rows, right align others in WKInterfaceTable?
- Swift - WatchKit: Setting background color for selected row on table (WKInterfaceTable)
- Swift-Watch: How to detect user scrolled to last row in WKInterfaceTable
- Error when updating a WKInterfaceTable while an alert is shown
- Apple Watch - Get Width of Elements Programmatically - WKInterfaceTable, WKInterfaceGroup
- How to detect a tap on a WKInterfaceGroup added within a table row controller?
- Spritekit scene not visible in Watchkit table row
- WKInterfaceTable is not getting populated with Codable data
- How do I dismiss a WKInterfaceController that was presented with contextForSegue?
- swift - populating WKInterfaceTable
- Non-scrollable view above WKInterfaceTable
- Scroll only WKInterfaceTable - WatchKit
- Does setting setNumberRows de-allocate the unneeded rows?
- WKInterfaceTable get scroll position (contentOffset.y)
- Reload data in WKInterface Table + Objective c
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can use this function to insert a different row type to your table.