开发者

Can I have a file with the same name in 2 folders inside iphone's document directory?

I checked and understood that we can create folders by different name inside documents directory.

My doubt is I have created two folders, folder1 and folder2. Is it possible to have a file named rock.p开发者_高级运维df inside each the directories? Both the files will be different but will be having same name.


Of course. The same file name in different folders is perfectly fine.


This happened to me when designers handed to me png resources for an app. AFAIK you can. However you will get a compiler warning stating that you have two entries for the same file name. I don't know what the side effects are, because I hate warnings and I corrected that in a second.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜