Все отлично работает на Android, но в iOS мой сборщик не открывается. Я пытался изменить стиль, удалить стиль, но ничего не работает.[code] setSelectedTypeTest(itemValue)} items={Constants.getTypeTest().map((test) => ({ label: t(test.label), value: test.value, }))} style={{ inputAndroid: styles.inputAndroid, inputIOS: styles.inputIOS, viewContainer: styles.viewContainer, }} value={selectedTypePlanet} useNativeAndroidPickerStyle={false} doneText="OK" />
< /code> Стиль для iOS: < /p> inputIOS: { height: 30, paddingTop: 0, paddingBottom: 0, justifyContent: 'center', alignItems: 'center', textAlign: 'center', backgroundColor: '#074183', color: 'aliceblue', borderRadius: 50, borderWidth: 1, borderColor: 'aliceblue', paddingHorizontal: 10, lineHeight: 15, width: width * 0.4, fontWeight: 500, }, < /code> Стиль для контейнера: < /p> viewContainer: { flex: 1, justifyContent: 'center', alignItems: 'center', height: 50, width: '100%', }, [/code] Я видел по другим темам: «переполнен:« скрытый »может решить, но не менять что -то для меня.