WatchKit watchOS 6.0 to 6.1 API Differences
WKDefines.h
Added
#def WK_DEPRECATED_WITH_REPLACEMENT
WKExtension.h
Modified
-[WKExtension enableWaterLock]
Availability
Replacement
From
Available
none
To
Deprecated
-[WKInterfaceDevice enableWaterLock]
WKInterfaceAuthorizationAppleIDButton.h
Added
WKInterfaceAuthorizationAppleIDButtonStyle
Added
WKInterfaceAuthorizationAppleIDButtonStyleDefault
Added
WKInterfaceAuthorizationAppleIDButtonStyleWhite
Added
-[WKInterfaceAuthorizationAppleIDButton initWithStyle:target:action:]
Modified
-[WKInterfaceAuthorizationAppleIDButton initWithTarget:action:]
Availability
Deprecation Message
From
Available
none
To
Deprecated
Use initWithStyle:target:action:
WKInterfaceDevice.h
Added
WKInterfaceDevice.waterLockEnabled
Added
-[WKInterfaceDevice enableWaterLock]
WKInterfaceMap.h
Added
WKInterfaceMapUserTrackingMode
Added
WKInterfaceMapUserTrackingModeNone
Added
WKInterfaceMapUserTrackingModeFollow
Added
-[WKInterfaceMap setShowsUserLocation:]
Added
-[WKInterfaceMap setShowsUserHeading:]
Added
-[WKInterfaceMap setUserTrackingMode:animated:]