MZFormSheetPresentationController provides an alternative to the native iOS UIModalPresentationFormSheet, adding support for iPhone and additional opportunities to setup UIPresentationController size and feel form sheet.
MIT License
973
stars
146
forks
source link
"Use of @import when modules are disabled" Error #116
After do pod install in my OC project, I tried to put
#import "MZFormSheetPresentationViewController.h"
in my Home View Controller and put
MZFormSheetPresentationViewController *formSheetController = [[MZFormSheetPresentationViewController alloc] initWithContentViewController:self.navigationController];
in a method.
However, I got 3 same "Use of @import when modules are disabled" errors in MZTransition.h, MZFormSheetPresentationViewControllerAnimatedTransitioning.h and MZFormSheetPresentationContentSizing.h
The Xcode8 indicate these errors are caused by this line
"@import UIKit;"
After do pod install in my OC project, I tried to put
#import "MZFormSheetPresentationViewController.h"
in my Home View Controller and putMZFormSheetPresentationViewController *formSheetController = [[MZFormSheetPresentationViewController alloc] initWithContentViewController:self.navigationController];
in a method.However, I got 3 same "Use of @import when modules are disabled" errors in
MZTransition.h
,MZFormSheetPresentationViewControllerAnimatedTransitioning.h
andMZFormSheetPresentationContentSizing.h
The Xcode8 indicate these errors are caused by this line
"@import UIKit;"
Does anyone how to fix it?