UIImagePickerController crashes app | Swift3, Xcode8

后端 未结 4 542
长情又很酷
长情又很酷 2020-12-01 10:34

FYI: I´m new to Swift so this might be a really simple problem but I just can´t figure it out.

I have been following the Start Developing iOS Apps (Swift) t

4条回答
  •  庸人自扰
    2020-12-01 11:09

    I tried adding the privacy messages but those didn't work for me. Then I looked at the Attributes Inspector for the image element itself and checked the box 'User Interaction Enabled', which had previously been unchecked. After doing this, the picker worked. Hope it helps someone.

提交回复
热议问题