skip to Main Content

Can't add a UIImage? to an array – Ios swift

When selecting the photos to display in the user's profile, while doing a .onTapGesture to append a UIImage into an array of them, Xcode throws No exact matches in call to instance method 'append' .onTapGesture { isShowingPhotoPickerForPersonImage.toggle() Person.personImages.append([UIImage?]) } struct…

VIEW QUESTION
Back To Top
Search