upload photo in xcode

Ads
 

upload photo in xcode

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

View Answers

June 30, 2011 at 1:55 PM

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.


June 30, 2011 at 2:00 PM

Ads









Related Tutorials/Questions & Answers:
upload photo in xcode
upload photo in xcode  how can i upload a photo in a view in xcode? i am a beginner in xcode please help me
Photo upload, Download
Photo upload, Download  Hi I am using NetBeans IDE for developing... am loading photo. BufferedImage image=null; JFileChooser chooser = new...()); } } Here I'll get path of the photo in local machine in variable "path" (I
Advertisements
Upload Photo to Server
Upload Photo to Server  Hi I am using NetBeans IDE for developing... i am loading photo. BufferedImage image=null; JFileChooser chooser...()); } } Here I'll get path of the photo in local machine in variable "path
photo uploading
photo uploading  i want the code upload the image in oracle database
photo album
photo album  while syncing photos to my photo album in my iphone, the photo albumj ust got crashed i guess. Under photos option i just have the camera roll option now!! What should i do to get the photo album back
Radiobutton in Xcode
Radiobutton in Xcode  I am new to Xcode .I want to implement Radiobutton in Xcode (using Objective C),and when i select any Radiobutton ,it should remain selected when i open my view next time. Is it possible anyway ? Any advise
photo viwer
photo viwer  i need coding for photo viewer using jsp mysql   Please visit the following link: http://www.roseindia.net/jsp/downloadimage.shtml
xcode web service example
xcode web service example  xcode web service example
UPLOAD
UPLOAD  how to upload image using html
Gallery Photo
Gallery Photo  I need to display a photo gallery with the path stored in oracle with the possibility of their supprission (photo management) (with jsf or with jsp)   hi friend, Do not do such task using JSP, Better
Uninstall Xcode
Uninstall Xcode  Hi, How to uninstall Xcode? Thanks   HI, You can easily unstall Xcode completely from your system. From the command line type: sudo /Developer/Library/uninstall-devtools -mode=all You?ll need
xcode 6.1.1 download
xcode 6.1.1 download  Hi, I want to download the Xcode from my windows computer. What is the direct url to download Xcode 6.1.1? Thanks   Hi, Download Xcode 6.1.1. You will still need the Apple user name
Potential leak of an object XCode
Potential leak of an object XCode  What is potential leak of an object XCode
xcode warning missing file
xcode warning missing file  on deleting a folder from desktop earlier that has the link to application.. now, stoping the application to run. The xcode is giving warning like file does not exist or xcode warning missing file
semantic issue xcode 4.2
semantic issue xcode 4.2  I have updated xcode 4.0 to 4.2 .. but once i open any application in this new version of xcode ..it throws lots of semantic issue. Can anyone please explain why it occurs and how to resolve
xcode group folder
xcode group folder  I wanted to show all files in xcode in a group... in Xcode Project Folder. Neelam   Follow the steps.. View -> Smart Groups -> All Files it'll group all the files in Xcode Project Folder. Neelam
application identifier xcode
application identifier xcode  Hi, can anyone tell me what is the profile doesn't match application identifier error in XCode? Thanks
Adding photo to iPhone simulator
Adding photo to iPhone simulator  Hi, there is no photo in my iPhone simulator.. how can i add one? Please suggest. Thanks
xCode 4 add new framework
xCode 4 add new framework  Hi, How to add new framework in Xcode 4 based application? Thanks
how to enable nszombie in xcode 4
how to enable nszombie in xcode 4  how to enable nszombie in xcode 4
xcode 4 create .ipa
xcode 4 create .ipa   Creating ad hoc for iphone distribution in XCode 4   You can edit scheme and assign different configuration for different actions. Adhoc configuration for archiving for example. Click 'Scheme
using xml and html in xcode project
using xml and html in xcode project  i want to use xml file and html in xcode instead of plist how can i do
xcode make phone call
xcode make phone call  xcode make phone call - Our iPhone application required a feature to call over any given mobile or phone number. Just wondering how to enable this feature in my application. Though i have see
ModuleNotFoundError: No module named 'xcode_releasemaker'
ModuleNotFoundError: No module named 'xcode_releasemaker'  Hi, My... named 'xcode_releasemaker' How to remove the ModuleNotFoundError: No module named 'xcode_releasemaker' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'xcode_releasemaker'
ModuleNotFoundError: No module named 'xcode_releasemaker'  Hi, My... named 'xcode_releasemaker' How to remove the ModuleNotFoundError: No module named 'xcode_releasemaker' error? Thanks   Hi, In your
save uiimage to photo library
save uiimage to photo library  How to saved the clicked picture on camera roll in iPhone. I always want to write the file into photo library.   Save UIImage to photo library Creating a camera application in iPhone need
how to add framework in xcode 4
how to add framework in xcode 4  how to add framework in xcode 4 iPhone?   In the project navigator, Select Project Select the 'Build Phases' tab Open 'Link Binaries With Libraries' expander Click the '+' button
exc_bad_access xcode 4
exc_bad_access xcode 4  How to debug the excbadaccess in xcode 4?   This type of error occurs when there is a memory leak in the application. You can debug it through the breakpoints. Find out if there is any object
ModuleNotFoundError: No module named 'mera_photo'
ModuleNotFoundError: No module named 'mera_photo'  Hi, My Python... 'mera_photo' How to remove the ModuleNotFoundError: No module named 'mera_photo' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'natgeo_photo'
ModuleNotFoundError: No module named 'natgeo_photo'  Hi, My Python... 'natgeo_photo' How to remove the ModuleNotFoundError: No module named 'natgeo_photo' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'natgeo_photo'
ModuleNotFoundError: No module named 'natgeo_photo'  Hi, My Python... 'natgeo_photo' How to remove the ModuleNotFoundError: No module named 'natgeo_photo' error? Thanks   Hi, In your python

Ads