watch-os-2


Does WCSessionDelegate get an initial sessionReachabilityDidChange after activating WCSession?


When setting up a WCSession in a watchOS app, does the WCSessionDelegate's sessionReachabilityDidChange: method always get invoked immediately after calling activateSession? From my testing this seems to be true but I am not finding any confirmation of this in documentation.
I ask because if I can rely on sessionReachabilityDidChange: being called immediately after activating the session, I can remove some redundant code from applicationDidBecomeActive that checks for a reachable session and sends some initial messages to the iPhone app.
Why not just call it yourself after you are done doing all your set up? That way you don't rely on any undocumented behavior, yet you don't have to duplicate code in two places

Related Links

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)'
Wakeup Watch app OS2 from the parent IOS app?
HomeKit show no homes in WatchOS 2
watch OS2 Complications deep link to a page in the app
Why is WKInterfacePicker considered an undeclared type?
target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphoneos' platform

Categories

HOME
algorithm
django
delphi-7
polymer
merge
forms
nvd3.js
jax-rs
flex
socket.io
solver
requirements
nuget
appcelerator
replace
newrelic
aws-cli
cq5
3d-reconstruction
regular-language
babeljs
maxscript
data-visualization
mql5
stellar.js
do-while
dreamweaver
google-picker
sse
sigma.js
oledb
asciidoctor-pdf
squashfs
named-entity-recognition
ember-cli
roslyn
mongoid6
corpus
8051
winexe
user-defined-functions
aws-codecommit
laravel-eloquent
wacom
code-snippets
gojs
latitude-longitude
sim-toolkit
sessionstorage
amazon-ses
projects-and-solutions
sim-card
xv6
android-softkeyboard
postgresql-8.4
linqpad
congestion-control
show-hide
httrack
identification
context-switch
excel-dna
jqchart
otp
check-mk
shinobi
docpad
stax
builtins
macaulay2
simevents
embedding
http-status-code-401
query-by-example
turbo-prolog
dock
.bash-profile
canvg
nutiteq
snackbar
showdialog
strawberry-perl
raygun
trdion2011
angular-carousel
lambda-architecture
terminate
authlogic
tlf
chart-director
midlet
pyunit
correlated-subquery
database-create
kqueue
denied
quotation-marks
inline-formset
message-passing
folding
pagemethods
xpsdocument
image-capture

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