Fix warnings of FlipperKit in iOS
Summary: This diff fixes the warnings raised from FlipperKit. Also this diff updates the deployement target of FlipperKit to iOS 10. Even wilde assumes the min deployment OS version to be iOS 10. In layout plugin we use [UIAccessibiltyTraiTabBar](https://developer.apple.com/documentation/uikit/uiaccessibility/uiaccessibilitytraits/1648592-tabbar), which assumes iOS 10 and above. Partially fixes https://github.com/facebook/flipper/issues/803 Still there are some warnings which are coming from the dependencies outside of Flipper. Reviewed By: passy Differential Revision: D19941558 fbshipit-source-id: 31809fedb9aa297bc318b5af72e29e8444f0142f
This commit is contained in:
committed by
Facebook Github Bot
parent
bd388f73e4
commit
972277b031
@@ -120,7 +120,7 @@ static NSString* const kSKCellIdentifier =
|
||||
}
|
||||
|
||||
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
return UIInterfaceOrientationPortrait;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
SK_EXTERN_C_BEGIN
|
||||
void FlipperPerformBlockOnMainThread(
|
||||
void (^block)(),
|
||||
void (^block)(void),
|
||||
id<FlipperResponder> responder);
|
||||
SK_EXTERN_C_END
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#import "FlipperResponder.h"
|
||||
|
||||
void FlipperPerformBlockOnMainThread(
|
||||
void (^block)(),
|
||||
void (^block)(void),
|
||||
id<FlipperResponder> responder) {
|
||||
if ([NSThread isMainThread]) {
|
||||
@try {
|
||||
|
||||
Reference in New Issue
Block a user