Commit 358d080a authored by rodolphefauquez's avatar rodolphefauquez Committed by zooble

The picker will be really closed now, instead of just visually hidden by animation. (#282)

parent 6debd218
...@@ -617,6 +617,8 @@ ...@@ -617,6 +617,8 @@
}]; }];
}); });
self.pick.hidden=YES;
} }
//按了确定按钮 //按了确定按钮
-(void)cfirmAction -(void)cfirmAction
......
...@@ -117,7 +117,11 @@ RCT_EXPORT_METHOD(hide){ ...@@ -117,7 +117,11 @@ RCT_EXPORT_METHOD(hide){
[_pick setFrame:CGRectMake(0, SCREEN_HEIGHT, SCREEN_WIDTH, self.height)]; [_pick setFrame:CGRectMake(0, SCREEN_HEIGHT, SCREEN_WIDTH, self.height)];
}]; }];
}); });
}return; }
self.pick.hidden=YES;
return;
} }
RCT_EXPORT_METHOD(select: (NSArray*)data){ RCT_EXPORT_METHOD(select: (NSArray*)data){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment