ios - Load image with same name in different folders -
in xcode project ios, have 2 images of same name header.png
in following folders folder1
, folder2
.
when used following code
uiimage *backgroundimage = [uiimage imagenamed:@"header.png"];
i image folder2.
if use
uiimage *backgroundimage = [uiimage imagenamed:@"folder1/header.png"];
i nothing.
any idea how access image in folder1 , folder2?
Comments
Post a Comment