Reputation: 523
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
Reputation: 1692
You cannot set frame to UIImage. Set the new frame position to the image view (UIImageView) that contains the image.
Upvotes: 1