smeacham

HelloAppDelegate.m

Oct 17th, 2012
35,536
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UILabel* label = [[UILabel alloc]init];
  2. label.text = @"Hello, world!";
  3. [label sizeToFit];
  4. CGRect f = label.frame;
  5. f.origin = CGPointMake(100, 100);
  6. label.frame = f;
  7. [self.window addSubview:label];
Advertisement
Add Comment
Please, Sign In to add comment