Skip to content

Commit 027abe2

Browse files
committed
Another tvOS target check
1 parent 33059f5 commit 027abe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Branch-SDK/BranchQRCode.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ - (void)callQRCodeAPI:(nullable NSDictionary *)params
173173

174174
[postDataTask resume];
175175
}
176-
176+
#if !TARGET_OS_TV
177177
- (void)showShareSheetWithQRCodeFromViewController:(nullable UIViewController *)viewController
178178
anchor:(nullable id)anchorViewOrButtonItem
179179
universalObject:(nullable BranchUniversalObject *)buo
@@ -250,6 +250,7 @@ - (LPLinkMetadata *)activityViewControllerLinkMetadata:(UIActivityViewController
250250
return metaData;
251251
}
252252
#endif
253+
#endif
253254

254255
- (BOOL)isValidUrl:(NSString *)urlString{
255256
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];

0 commit comments

Comments
 (0)