-
Notifications
You must be signed in to change notification settings - Fork 515
CarPlay iOS xcode15.0 b2
Manuel de la Pena edited this page Aug 9, 2023
·
3 revisions
#CarPlay.framework https://github.com/xamarin/xamarin-macios/pull/18681
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingButton.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingButton.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingButton.h 2023-05-20 00:17:34
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingButton.h 2023-06-10 07:24:51
@@ -96,6 +96,8 @@
@param image A custom image for this button. The maximum image size is CPNowPlayingButtonMaximumImageSize; larger images will be scaled down.
@param handler A block to execute when the user selects the button. The block has no return value and takes the selected button as its only parameter.
+
+ @discussion Provided image should be dark variant and will be recolored.
*/
- (instancetype)initWithImage:(UIImage *)image
handler:(void (^ _Nullable)(__kindof CPNowPlayingButton *))handler;
@@ -103,7 +105,7 @@
/**
The custom image, if any, displayed on the button.
- @discussion Animated images are not supported. If an animated image is assigned, only the first image will be used.
+ @discussion Animated images are not supported. If an animated image is assigned, only the first image will be used. If an empty or zero-size image is provided, a system placeholder glyph will be displayed instead.
*/
@property (nullable, nonatomic, readonly, strong) UIImage *image;
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status