Pergunta

I'm trying to develop an app where the user can take a pic and then overlay some sprites over the photo. Something like these apps "Make me |something|"

Here is an example enter image description here

But I really don't know what do I have to use (CoreGraphics, SpriteKit) to develop something like this. Any tips?

Foi útil?

Solução

This can be easily done using UIViews

You can have a parent UIView

add a UIImageView in it . set it to custom photo image. Now finally add a custom UILabel with text, another UIImageView or any other UIView to the parent view.

Then when you want to save just draw the parent UIView layer using core graphics(basically taking a screenshot) and save.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top