for (int i = 0; i < 10; i++)
{
CGRect frame;
frame.origin.x = 20 * i;
frame.origin.y = 0;
UIView *recentOffer = (UIView *)[self.view viewWithTag:10];
recentOffer.frame = frame;
UILabel *offerLocalisation = (UILabel *)[recentOffer viewWithTag:110];
offerLocalisation.text = [NSString stringWithFormat:@"View %i",i];
[scrollNewOffers addSubview:recentOffer];
}
The UIView recentOffer is set in my storyboard view, in the scrollview, with the Tag 10
Could someone help me with this code ?
Thanks a lot!
--
You received this message because you are subscribed to the Google Groups "iPhone SDK Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/iphonesdkdevelopment/-/2N4uXG17ZIYJ.
To post to this group, send email to iphonesdkd...@googlegroups.com.
To unsubscribe from this group, send email to iphonesdkdevelop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/iphonesdkdevelopment?hl=en.