Adding a UIActivityIndicator to a modal view (ELCimagepicker)

后端 未结 3 1300
挽巷
挽巷 2021-01-06 17:40

I\'ve added the ELCimagepicker (https://github.com/Fingertips/ELCImagePickerController) to my project and it works perfectly, allowing the user to select multiple images for

3条回答
  •  温柔的废话
    2021-01-06 18:20

    It looks like you are updating UI on a background thread. All UIKit updates are to be done in the main thread. So I recommend you execute methods doing UI updates using performSelectorOnMainThread:withObject:.

提交回复
热议问题