Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CGRect imageViewFrame;
- if (centerSymbols)
- imageViewFrame = CGRectMake(self.view.bounds.size.width/2.0 - bigness/2.0, self.view.bounds.size.height/2.0 - bigness/1.0, bigness, bigness);
- else
- imageViewFrame = CGRectMake(touchPoint.x - bigness/2.0, touchPoint.y - bigness/1.0, bigness, bigness);
- UIImageView *anImageView = [[UIImageView alloc] initWithFrame:imageViewFrame];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement