ios - how to place the react native transparent view above the native view? -
i want place react native view above native view(ios opengl), this:
rctrootview *rnview =[[rctrootview alloc]initwithbundleurl:jscodelocation modulename:@"simpleapp" initialproperties:nil launchoptions:nil]; [self.view addsubview:rnview]; i try set style backgroundcolor:'transparent', background white , can not see native view behind.
how can do?
if you're setting style style object on javascript side, should able make view transparent setting opacity:0.
Comments
Post a Comment