I have array:
var imgs: [UIImage] = userDefaults.object(forKey: "myKey") as? [UIImage] ?? []
How I can save it?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I already have an array:
var imgArr = [UIImage]()
I want to add there elements:
imgArr.append(UIImage)
Save it, for example:
imgArr.save() // example
And then get items from it, to add array elements to cells:
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "MyCell", for: indexPath)
	 cell.imageView!.image = imgArr[indexPath.row]
return cell
}
I want to create subscription, that allows user to work my with app
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Swift
Subscriptions
Xcode