cgaffinetransform
Limiting CGAffineTransform Scale
I am transforming a view with CGAffineTransformMake. It rotates, scales and translates. This works just fine. But I cannot figure out a way to limit the scale to a maximum size.[详细]
2023-02-18 21:02 分类:问答Behaviour of CGAffineTransformMakeScale with CGREct and with UIView
I have a view with a frame defined as (0,0,320,480). I call transformation on this view: self.myView.transform = CGAffineTransformMakeScale(factor, factor);[详细]
2023-02-17 12:06 分类:问答Smooth rotation of UIView with touch
I\'m wondering how to smooth a UITouch in my code. I am able to detect the UItouch on my UIView, but when I try to rotate the view using CGAffineTransform, it does not rotate smoothly. I have to press[详细]
2023-02-17 11:58 分类:问答How to move a UIImageView after applying CGAffineTransformRotate to it?
I\'m building an iPhone app. I have a UIView that contains a set of UIImageView subclass objects.The user can drag and rotate the image views via touch.I\'m having trouble moving the image view after[详细]
2023-02-08 00:47 分类:问答translation after rotation view using CGAffine
I have a view that contain some textfield.I set view\'s orientation like this (void)deviceRotated开发者_StackOverflow:(id)sender[详细]
2023-01-28 18:49 分类:问答How to track successive CGAffineTransforms so as to arrive at a specific point on screen?
How do you execute multiple CGAffineTransform operations (in animation blocks) without keeping track of every operation executed?[详细]
2023-01-28 07:44 分类:问答iPhone positioning a UIImageView with code? Sure it's simple to solve
This is very simple so I\'m not sure why I can\'t do this. All I want to do it position some UIImageViews when my app becomes active. I had been using CGAffineTransformMakeTranslation but I can now se[详细]
2023-01-26 11:04 分类:问答Duplicate layers drawn with a UIImageView and CGAffinetransform
I am having an issue applying a transform to a UIImageView\'s layer.Using the code below, I am trying to rotate this needle, but I am getting duplicate copies drawn.I have checked that there is no oth[详细]
2023-01-25 09:58 分类:问答iOS SDK CGAffineTransform Angle Question
I need to get angle in radians.I have: CGFloat angle = asin(myImage.transform.b); This seems to be not working.I need to extract the angl开发者_开发问答e of \'myImage\' at any moment in time.How wou[详细]
2023-01-21 09:39 分类:问答Views and buttons unresponsive to touches after rotation
I am coding开发者_如何转开发 against iOS 3.0 and I am trying to add rotation (landscape) support to my app.[详细]
2023-01-19 06:27 分类:问答
加载中,请稍侯......