Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UILabel* label = [[UILabel alloc]init];
- label.text = @"Hello, world!";
- [label sizeToFit];
- CGRect f = label.frame;
- f.origin = CGPointMake(100, 100);
- label.frame = f;
- [self.window addSubview:label];
Advertisement
Add Comment
Please, Sign In to add comment