From cd0dcee4505eef284df08dbb4cb79b5fd726638b Mon Sep 17 00:00:00 2001 From: Arnas Dundulis Date: Tue, 22 Jan 2019 17:23:08 +0200 Subject: [PATCH] Fix nullability mismatch --- PersonalizedAdConsent/PersonalizedAdConsent/PACConsentForm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PersonalizedAdConsent/PersonalizedAdConsent/PACConsentForm.h b/PersonalizedAdConsent/PersonalizedAdConsent/PACConsentForm.h index ba36648..3cf11aa 100755 --- a/PersonalizedAdConsent/PersonalizedAdConsent/PACConsentForm.h +++ b/PersonalizedAdConsent/PersonalizedAdConsent/PACConsentForm.h @@ -31,8 +31,11 @@ typedef void (^PACDismissCompletion)(NSError *_Nullable error, BOOL userPrefersA /// Indicates whether the consent form should show an ad-free app option. Defaults to NO. @property(nonatomic) BOOL shouldOfferAdFree; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability" /// Unavailable. - (nullable instancetype)init NS_UNAVAILABLE; +#pragma clang diagnostic pop /// Returns an initialized consent form with your application's privacy policy URL. Returns nil if /// the privacy policy URL is invalid.