Skip to content

Commit 31860cf

Browse files
alekopAleko Petkov
and
Aleko Petkov
authored
fix: explicitly import dependencies, instead of relying on PCH files. This is important in Swift projects, where you cannot use prefix headers. (#927)
Co-authored-by: Aleko Petkov <[email protected]>
1 parent d735e13 commit 31860cf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/ios/CDVInAppBrowserNavigationController.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
under the License.
1818
*/
1919

20+
#import <UIKit/UINavigationController.h>
2021
#import <Cordova/CDVScreenOrientationDelegate.h>
2122

2223

src/ios/CDVInAppBrowserOptions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
under the License.
1818
*/
1919

20+
#import <Foundation/Foundation.h>
2021

2122
@interface CDVInAppBrowserOptions : NSObject {}
2223

0 commit comments

Comments
 (0)