• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CGAffintransform and UIImage Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGAffintransform and UIImage Views


  • Subject: CGAffintransform and UIImage Views
  • From: nasser salami <email@hidden>
  • Date: Thu, 29 Jan 2009 21:24:18 +0300

Hello,
im a newbie iphone developer and i m trying to smoothly scale an image view
up and then return to the original state. here what i did but it did not
work :

//code start

[UIView beginAnimations:nil context:null];

[UIView setAnimationDuration:0.5];

CGAffineTransform transform = CGAffineTransformMakeScale(5,5);

myView.transform = transform;
[UIView commitAnimations];

// now to scale down
 [UIView beginAnimations:nil context:null];

[UIView setAnimationDuration:0.5];

CGAffineTransform transform2 = CGAffineTransformIdentity

myView.transform = transform2;
[UIView commitAnimations];
//code end

so can you tell what it is that i did wrong? i'm sorry if it sounded stupid.
thanks
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CGAffintransform and UIImage Views
      • From: David Duncan <email@hidden>
  • Prev by Date: Save changes prompt in non-document app
  • Next by Date: Re: [Solved - duh!] Core data storage of objects whose class is loaded from a bundle
  • Previous by thread: Re: Save changes prompt in non-document app
  • Next by thread: Re: CGAffintransform and UIImage Views
  • Index(es):
    • Date
    • Thread