我的 [[NSBundle mainBundle] bundlePath] 中的图像计数
如何在特定的我的文件夹中找到 [[NSBundle mainBundle] bundlePath]
中的图像数量...
例如:/Users/Nag/Library/Application Support/iPhone Simulator/4.2/Applications/4409487C-1035-4329-B38A-B6F21E00FC63/MakeUp_IPhone.app/"MyFolder"
How can you find count of images in [[NSBundle mainBundle] bundlePath]
at particular my folder....
Eg: /Users/Nag/Library/Application Support/iPhone Simulator/4.2/Applications/4409487C-1035-4329-B38A-B6F21E00FC63/MakeUp_IPhone.app/"MyFolder"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://www.ericd.net/ 2009/06/iphone-getting-images-from-your-bundle.html
http://www.cocoabuilder.com/archive/cocoa/239638-number-of-images-in-main-bundle-folder-iphone.html cocoabuilder.com/archive/cocoa/239638-number-of-images-in-main-bundle-folder-iphone.html
检查上述链接。他们可能会为您的问题提供解决方案。
以下是适合您的代码:
要从特定文件夹获取图像,请参阅:计数图像< /a>
另请参阅:
http://www.ericd.net/2009/06/iphone-getting-images-from-your-bundle.html
http://www.cocoabuilder.com/archive/cocoa/239638-number-of-images-in-main-bundle-folder-iphone.html
Check the above links. They may provide a solution to your problem.
Here is the code for you:
For getting images froma a paticular folder, see this: count no.of images
See this also: