Iphone app's

Thursday, 30 January 2014

scaling an image

UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"taj.jpg"]];
    imageView.frame = CGRectMake(100, 100, 417  ,517);
    imageView.center = imageView.superview.center;

    [self.view addSubview:imageView];
Posted by Yuva at 02:01
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Yuva
View my complete profile

Blog Archive

  • ►  2018 (5)
    • ►  March (5)
  • ►  2017 (2)
    • ►  May (1)
    • ►  January (1)
  • ►  2015 (2)
    • ►  November (1)
    • ►  September (1)
  • ▼  2014 (43)
    • ►  December (1)
    • ►  September (1)
    • ►  May (6)
    • ►  February (7)
    • ▼  January (28)
      • scaling an image
      • Table Without CustomCell
      • Multiple CheckBox
      • Single Radio Button and Checkbox
      • Gesture Program
      • Create Grid
      • Reverse A string
      • Preference
      • PList
      • System Date And Time
      • SQL Without FMDB
      • SQL-FMDB
      • XML
      • Custom Cell
      • Counting the particular words
      • Distinct Item
      • Swap array objects
      • Dictionary Concepts
      • Map with MultipleAnnatation
      • Download a File
      • JSON
      • Tabbar Controller
      • Create programmatically view and controls
      • Replacing a path
      • Reverse a string.It contain list of names
      • Calculate Distance between two points
      • Adding String in NSString with specified index
      • Create a circle programmatically
Ethereal theme. Powered by Blogger.