Nishith Shah
Nishith Shah

Reputation: 523

Unable to Change image position from one frame to another?

I am trying implement Unblock me Puzzle. i want to change image position from one frame(Block) to another Frame(Block) only when half distance of next frame is covered.

I have implemented the logic for puzzle. but unable to implement code for changing image from one frame to another.

Upvotes: 0

Views: 105

Answers (1)

iCoder4777
iCoder4777

Reputation: 1692

You cannot set frame to UIImage. Set the new frame position to the image view (UIImageView) that contains the image.

Upvotes: 1

Related Questions