Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

126
Vistas
Can't close single view in react native ios

new here to react native. I am using the exact code that is in the expo imagePicker guide (https://docs.expo.dev/versions/latest/sdk/imagepicker/) and I am unable to get the image picking UI in iOS to be on top.

const _pickImage = async () => {
    let result = await ImagePicker.launchImageLibraryAsync({
      mediaTypes: ImagePicker.MediaTypeOptions.All,
      allowsEditing: true,
      aspect: [4, 3],
      quality: 1,
    });

My modal:

<Modal>
  isVisible={this.state.isModal5Visible}
  onBackdropPress={() => this.setState({ isModal5Visible: false })}
  <View style={{flex:1}}>
    <Button  primary style={{flexDirection: 'row', alignItems: 'center', justifyContent:'flex-start'}}
                    onPress={this._pickImage}
      >
    <Icon name='ios-book' />
    <Text style={ Platform.OS === 'ios' ? {fontSize:16} : {fontSize:12,paddingLeft:4} }>Gallery</Text>
    </Button>
  </View>
</Modal>

What happens here is that my view is staying on top of the image picker UI on iOS only, not on Android:

enter image description here

When I add a close event, it closes both the view and the image picker UI. How can I only close this view?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda