Created
December 4, 2015 12:01
-
-
Save sbugert/cc938b372c33315ce51b to your computer and use it in GitHub Desktop.
Bring View to front
This file contains 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 "RCTViewManager.h" | |
@interface ZPosViewManager : RCTViewManager | |
@end |
This file contains 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 "ZPosViewManager.h" | |
#import "RCTBridge.h" | |
#import "RCTView.h" | |
@implementation ZPosViewManager | |
RCT_EXPORT_MODULE(); | |
- (UIView *)view | |
{ | |
RCTView * zView; | |
zView = [[RCTView alloc] init]; | |
zView.layer.zPosition = MAXFLOAT; | |
return zView; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey man,
It's me asim. This code has worked! Thanks 👍