質問

I want to store the tapped location of view controller in core data. I am using UITapGestureRecognizer .

As user taps anywhere in the view,i want that location to get saved in core data.

How can i do this? Any idea will be helpful.

役に立ちましたか?

解決

Alteratively, rather than a string, you could create an Entity to represent a point with it's x and y values.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top