watch-os-2


WKInterfaceTable pull to refresh


Is it possible to create pull to refresh action in WKInterfaceTable in watch os 2?
There is one question but its related to watch os 1.
WatchKit pull to refresh
Short Answer:
No, it's not possible.
Long Answer:
All WKInterface Objects are just proxy objects that allows you to send queries to real UI Object. So basically they are not treditional UI Objects.
Connections between real UIs and WKInterface objects are managed by watchOS. What if some WKInterfaceController got deactivated, the connections in it will be disconnected also. In this state, you can't send queries anymore.
You may know that there are two bundles for watch Apps, one takes storyboard and icons, the other one is extension bundle. With sand-box concept, your code(in extension) can't access UI(storyboard bundle sided) directly. The only way to interact is using Interface Builder outlets and sent action.
It(Remote-UI concepts) makes sense for watchOS1 since all the code runs on iPhone. However with some reason, WatchOS2 App also use same strategy. With this restriction, You can't write code that react user interaction to real UI Objects directly likes iOS apps. As I told earlier, You can use pre-defined sent action only.
Since Xcode Interface Builder doesn't provide sent action likes did scroll, You can't write code that react pull down.

Related Links

how to make watch os1 to support os2?
Play audio on Apple Watch without bluetooth
Why HKSample array always have 1 value for a HKAnchoredObjectQuery with no limits,no predicate, no anchor?
wrong WCSessionDelegate callback function called
Apple watch's gyroscope.available always return false
Does WCSessionDelegate get an initial sessionReachabilityDidChange after activating WCSession?
Are `setHidden` messages to `WKInterfaceObject` guaranteed to be delivered in order?
Apple Watch App Extension won't run on the simulator anymore
WatchOS2 Context Menu not working with BecomeCurrentPage
Apple Watch Complication not updating in background
Apple watch complication not refreshing in the background when using HealthKit queries
WKInterfaceTable pull to refresh
HKAnchoredObjectQuery results handler doesn't fire after initial results
WKInterfaceMap is not shown on WatchOS 2 project
can a user interact with WKInterfacePicker with touch gestures?
Will install Watch App called with bad bundle identifier '(null)'

Categories

HOME
shell
embedded
search
microsoftgraph
fuelux
pyqt
case
mysql-workbench
vscode-extensions
carousel
aws-cli
scripting
interpolation
jetty
tvos
frontend
nfs
special-characters
rcloud
startup
line
onedrive-api
frequency-distribution
package-managers
foreign-keys
blade
pimcore
jboss6.x
jasmine-node
sqsh
ntp
google-cast
livelink
complex-numbers
memory-address
html-encode
indy10
openproject
wurfl
plr
android-checkbox
importerror
jide
fwrite
httrack
user-defined-fields
lightning
structuremap4
filenet
parfor
pacemaker
signalr.client
android-dateutils
tracker-enabled-dbcontext
redis-cluster
uiactionsheet
cortex-m
sciruby
sapscript
evolus-pencil
apache-commons-daemon
qtwebengine
beatsmusic
crowd
spy++
imagefilter
strawberry-perl
ray
conditionaltagsupport
getopt
gtm-oauth2
scringo
nevron
poker
swfobject
veracity
gobject-introspection
cuteeditor
ie-compatibility-mode
opml
lxr
alsb

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App