title: Showing a UIPickerView with UIActionSheet in iOS8 not working
body: <p>Showing a <code>UIPickerView</code> with <code>UIActionSheet</code> in <strong>iOS8</strong> not working</p>
  
  <p>The code works in <strong>iOS7</strong>, however it is not working in <strong>iOS8</strong>. I'm sure it is because UIActionSheet is deprecated in <strong>iOS8</strong> and Apple recommends to use <code>UIAlertController</code>.</p>
  
  <p>However, how to do it in <strong>iOS8</strong>? I should use <code>UIAlertController</code>?</p>
  
  <p><strong>iOS7</strong>:<br>
  <img src="https://i.stack.imgur.com/kKWxa.png" alt="enter image description here"></p>
  
  <p><strong>iOS8</strong>:<br>
  <img src="https://i.stack.imgur.com/5DrS4.png" alt="enter image description here"></p>
  
  <p><strong>EDIT:</strong> </p>
  
  <p><a href="https://github.com/GabrielMassana/Picker-iOS8" rel="noreferrer">My GitHub project solving the problem.</a></p>