
how can i upload a photo in a view in xcode? i am a beginner in xcode please help me

Hi, Though i didn't understand your meaning of " upload a photo in a view in xcode" below i'm giving you few possibilities to add photo or an image on UIView.
1) Copy the image to your XCode - to copy an image into XCode "right click on the Resources folder and choose ADD->Existing files" and chose the photo from folder and save it. or simply open the folder in finder and drag & drop the desired image into the application Resources folder. A popup window will come up just check the option that says to add the image in application folder and save it. Finally you can see it in your application resources folder.
2) Now open your viewController.xib file in interface builder and add a image view on it. Resize it. 3) Now open the "Inspector" and set the image name in there in image field. save and close the interface builder.
Finally run the application to see the output.
You can also add an image to UIImageView problematically in your ViewDidLoad method.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.