Hello everyone
Here is the directory of my images located shown in the right panel of my Xcode:
Notice that img1 is also in folder1 and folder2 but they are difference in quality. Now, I have an UIImageView and my goal is set img1 (high quality) as a background of my UIImageView. Here what I coded
However, the img is now not shown on UIImageView. .
Others tell me that change the name of 2 imges and code like below
For some reason, i dont want to change the name of my imges.Therefore, how can I point to the right folder so that I properly pull out the image which I want to....
Here is the directory of my images located shown in the right panel of my Xcode:
Code:
-My project
---Classes
---Resources
----- folder1
------- [B]img1[/B] (poor quality)
------- img2
----- folder2
------- img1 (high quality )
------- img2
Code:
[bigViewOfImg setImage:[UIImage imageNamed:@"Resources/folder1/img1"]];
Others tell me that change the name of 2 imges and code like below
Code:
[bigViewOfImg setImage:[UIImage imageNamed:@"img1.png"]];