Reply:
- (Void) shakeToShow: (UIView *) aView {
CAKeyframeAnimation * animation = [CAKeyframeAnimation animationWithKeyPath: @ "transform"];
animation.duration = 0.5;
NSMutableArray * values = [NSMutableArray array];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (0.1, 0.1, 1.0)]];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (1.2, 1.2, 1.0)]];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (0.9, 0.9, 1.0)]];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (1.0, 1.0, 1.0)]];
animation.values = values;
[AView.layer addAnimation: animation forKey: nil];
}
Reply:
Why not UITableViewController it?
Reply:
- (Void) shakeToShow: (UIView *) aView {
CAKeyframeAnimation * animation = [CAKeyframeAnimation animationWithKeyPath: @ "transform"];
animation.duration = 0.5;
NSMutableArray * values = [NSMutableArray array];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (0.1, 0.1, 1.0)]];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (1.2, 1.2, 1.0)]];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (0.9, 0.9, 1.0)]];
[Values addObject: [NSValue valueWithCATransform3D: CATransform3DMakeScale (1.0, 1.0, 1.0)]];
animation.values = values;
[AView.layer addAnimation: animation forKey: nil];
}
Reply:
Direct call this way? shakeToShow
Reply:
UIPopoverController?????
Reply:
- (Void) tableView: (UITableView *) tableView
didSelectRowAtIndexPath: (NSIndexPath *) indexPath
What you say is not this?
Plus method presents a page directly in this method inside. . .
For example, whether the present method is feasible?
Reply:
Or UINaviationController controls + uitableview, the realization hits which line, push the event to achieve the jump page
Reply:
The method is far more than five kinds ah ......
Reply:
I am a novice ah, many would not it ~ ~ ~ Is there a direct reference demo ~
Reply:
UINaviationController The controls are also not use ~ ~ ~
No comments:
Post a Comment