Created
March 11, 2020 12:57
-
-
Save ademcan/25601e6869e3d2874984236c6b1f013c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <Stripe/Stripe.h> | |
#import "CheckoutViewController.h" | |
#import "AppDelegate.h" | |
@interface CheckoutViewController () | |
@end | |
@implementation CheckoutViewController | |
#pragma mark - STPAuthenticationContext | |
- (UIViewController *)authenticationPresentingViewController { | |
AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate]; | |
return delegate.rootViewController; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment