SwiftUI / UIKit view where user can paste images

Viewed 24

Irrespective of the framework (SwiftUI/UIKit), what kind of view / UI element can I use that lets a user paste images, akin to what Instagram allows? In particular, I am interested about creating some kind of canvas where users can paste iOS 16 type stickers. How can I even approach this?

Specifically, I want to create an empty canvas that users can tap / long press and then a context menu opens where users can paste an image (or ios16 sticker)

Images to show what I mean / what Instagram has:

  • Copying a sticker

enter image description here

  • Instagram offers a Paste context menu

enter image description here

  • The pasted sticker, can be freely moved around

enter image description here

Sorry for not posting any code etc, but I simply just need to know what kind of base view / approach to even use to attempt creating something like this.

0 Answers
Related