hai i am new to iphone,i want to add image in every page,how can i do it?anyone can help me?
+1
A:
Images are normally added via a UIImageView. Something like:
UIView *newView = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @"myimage.png"]];
[self.view addSubview: newView];
Download the SDK. In the example folder, search for the term "UIImageView". You will find literally hundreds of examples of what you are asking about.
Amagrammer
2009-08-01 13:20:58
see my title to be answered
Mikhail Naimy
2009-10-06 07:53:57