title: React Native DateTimePicker not Opening in IOS
body: <p><strong>Datetime Picker is not opening</strong>
  i'm using react-native with react-hooks, in Android works fine . but its not opening in IOS and not showing any error. </p>
  
  <p>i just created local component for datepicker so i can use it for both android and ios. for android its going fine IOS is the issue, its not responding </p>
  
  <p>i done pod clean and install also no luck </p>
  
  <pre><code>const DatePicker =({}) =&gt;{
     const [state, setState] = useState({
       date:  new Date(),
       mode: 'date',
       show: false
   });
  
   const showPicker = mode =&gt; {
       setState(prevState =&gt; ({
       ...prevState,
       show: Platform.OS === 'ios',
       mode
       }));
   };
  
   const datePicker = () =&gt; {
       showPicker('datetime');
   };
  
  
   return(
       &lt;&gt;
           &lt;View&gt;
               &lt;View style={styles.createBorder}&gt;
                   &lt;TouchableHighlight
                       underlayColor={disable ? 'transperant' : ''}
                       onPress={!disable &amp;&amp; timePicker}
                   &gt;
                       &lt;View style={styles.datePickerBox}&gt;
                       &lt;Text
                           style={[styles.datePickerText, { width: width - 60 }]}
                       &gt;
                           {state.date}
                       &lt;/Text&gt;
                       &lt;/View&gt;
                   &lt;/TouchableHighlight&gt;
               &lt;/View&gt;
               {state.show &amp;&amp; Platform.OS === 'ios' &amp;&amp; (
                   &lt;DateTimePicker
                   style={[styles.inputBackground, {width: '100%' }]}
                   value={state.date}
                   mode="datetime"
                   is24Hour={false}
                   display="default"
                   onChange={setDate}
                   /&gt;
               )}
           &lt;/View&gt;
       &lt;/&gt;
   );  
  }  
  export default DatePicker;
  </code></pre>