Question: So i've been trying to get one record and edit it by pressing the button that is created in that table, but honestly, i have no idea how to do that. Dx Can anyone help me with this? (Yes, i want the button created for each record. You know, so at the end of every row in the table, every record will have it's own button.)

```
while($rArt = mysqli_fetch_array($sql)){
 echo '<tr><td>' . $rArt['ArtID'] . '</td>';
 echo '<td>' . $rArt['FiliaalID'] . '</td>';
 echo '<td>' . $rArt['Productnaam'] . '</td>';
 echo '<td>' . $rArt['Inkoopprijs'] . '</td>';
 echo '<td>' . $rArt['Voorraad'] . '</td>';
 echo '<td>' . $rArt['Min_voorraad'] . '</td>';
 $voo = $rArt['Voorraad'];
 $minvoo = $rArt['Min_voorraad'];
 $nodig = $minvoo * 2 - $voo;
 $chosen = $rArt['ArtID'];
 echo '<td>' . $nodig . '</td>';
 echo '<td><input type="submit" name="bestel" value="Bestel"></td></tr>';

 if(isset($_GET['bestel'])){
  $query = mysqli_query($mysql, "
   UPDATE artikel a, voorraad v
   SET v.voorraad = v.voorraad + '$nodig'
   WHERE a.artid = v.artid
   AND v.voorraad = '$chosen'");
 }
}

```

Answer: 
I'm pretty sure this is just a bug in iOS 8.0. It's reproducible with the simplest of POC apps that does nothing more than attempt to present a `UIImagePickerController` like you're doing above. Furthermore, there's no alternative pattern to displaying the image picker/camera, to my knowledge. You can even download Apple's [Using UIImagePickerController sample app](https://developer.apple.com/library/ios/samplecode/PhotoPicker/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010196-Intro-DontLinkElementID_2), run it, and it will generate the same error out of the box.

That said, the functionality still works for me. Other than the warning/error, do you have issues with the functioning of your app?
I'm using Phonegap, but this thread keeps coming as the first one when Googling about the error message.

For me this issue went away by defining the imagetype to PNG.

```
encodingType : Camera.EncodingType.PNG

```

So the whole line being:

```
 navigator.camera.getPicture(successFunction, failFunction, { encodingType : Camera.EncodingType.PNG, correctOrientation:true, sourceType : Camera.PictureSourceType    .PHOTOLIBRARY, quality: 70, allowEdit : false , destinationType: Camera.DestinationType.DATA_URL});

```

Your mileage may vary, but that did the trick for me.