Skip to content

Commit e2b0c59

Browse files
[iOS 14] Some PassKit SPI is now API
https://bugs.webkit.org/show_bug.cgi?id=214433 <rdar://problem/65695889> Reviewed by Darin Adler. * pal/spi/cocoa/PassKitSPI.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@264506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 2de126b commit e2b0c59

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Diff for: Source/WebCore/PAL/ChangeLog

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2020-07-17 Jonathan Bedard <[email protected]>
2+
3+
[iOS 14] Some PassKit SPI is now API
4+
https://bugs.webkit.org/show_bug.cgi?id=214433
5+
<rdar://problem/65695889>
6+
7+
Reviewed by Darin Adler.
8+
9+
* pal/spi/cocoa/PassKitSPI.h:
10+
111
2020-07-16 Eric Carlson <[email protected]>
212

313
Use AVRoutePickerView when available for choosing AirPlay devices

Diff for: Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h

+6
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,16 @@ typedef NS_ENUM(NSInteger, PKPaymentSetupFeatureType) {
327327
@property (nonatomic, strong) NSArray <PKPaymentSetupFeature *> *paymentSetupFeatures;
328328
@end
329329

330+
#if PLATFORM(MAC) \
331+
|| (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 140000) \
332+
|| (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED < 70000)
333+
330334
@interface PKPaymentMerchantSession : NSObject <NSSecureCoding, NSCopying>
331335
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
332336
@end
333337

338+
#endif
339+
334340
@interface PKPaymentAuthorizationViewController ()
335341
+ (void)paymentServicesMerchantURL:(void(^)(NSURL *merchantURL, NSError *error))completion;
336342
+ (void)paymentServicesMerchantURLForAPIType:(PKPaymentRequestAPIType)APIType completion:(void(^)(NSURL *merchantURL, NSError *error))completion;

0 commit comments

Comments
 (0)