Is there any way to get a photo' path in photoLibrary? - ios

first of all ,forgive my poor english.
this is the first time I post my question.
Question:
I accessed the AssetsLibrary, got the assets(some pics),then I stored them into
a NSArray, and now I want to know their file paths, such as "xx/xxx/xxxxxx.png";
after read the help docs from apple, I can get some of it's properties,
but the urls,such as:
image:assets-library://asset/asset.JPG?id=F2C5D63D-BCA9-4A53-ACA7-8FB9C6EDC1E6&ext=JPG
does not help.
Is there any way can help me doing this?
Great appreciate.

This cannot be done. See for example this answer. It is about movie files, but applies to images as well.

Related

Upload file of huge size to server and track progress of uploading in iOS

I have a requirement in my application, to upload a file (pdf,audio,video, etc) to server with huge sizes. I need to upload the file in background and also indicate the user with a progress bar.
I tried to Google and found few stack overflow pointers to use NSUrlconnection and implement delegate methods.some pointed to ASHTTPClient. I am looking for best solution or readymade solution, if it is available. I am posting here, hoping someone might have come across a similar requirement and whose pointers would help me a lot.
Any pointers and if possible with code snippets is highly appreciated.
Thanks in advance.

What is the starting point for simple image indexing for search tool

I'm bulding a small photo gallery website and I need a function that detect duplicate images (don't need to be be 100% accurate, just like Google Image Search).
I'm using a very new language (Golang) so I don't think there is any available library for this out there.
So what is the starting point for me? Please give me some keyword about this. Or if you have any material that is simple and easy to understand, please share me.
I think this blog post is simple and easy to understand.

XML based image gallery in ios development help needed

I searched every where and tried to do learn from the Apple document, but did not success. Actually I learned to fetch XML, learned to Load Image, but not in the combined form.
Please suggest me some example if it does exist.
I came here by asking the same question, After some struggle I've found an interesting article by IBM:
http://www.ibm.com/developerworks/library/x-iosslideshow/
This should help you ( and me) to build the gallery.
If not just add it as a "Guide" on how to achieve that.
If I learn how to do it properly I'll let you know how.
Cheers,
Wolf

UIBeziarPaths in iOS

Is there any way to figure out the points that comprise the UIBeziarPath? It looks like you can't backtrack and see what's already there. Thanks for the help.
It's not the easiest solution, but check out the answer to this question. The question has a response that is just a link with no other info. It has a pretty good suggestion.

ResourceString file equivalent on iOS

So here is the whole story.
I have done alot of code for a lot of platforms.
I really like the concept that I have found in Java and .NET with a resource file that can contain all the strings you will use in your app. Hopefully some of you know about it. It's basically an XML file sorted in a key=>value kind of way.
I have been looking for an equivalent in iOS but I'm unclear. There is infoPlist.strings, but that seems like the wrong path. I may be wrong.
So what we want is, we have a whole bunch of strings that get repeated in multiple places (alert boxes, direction text, etc.). We need that to be a change once kind of experience. There are multiple ways of doing this, I just don't know which one is the best.
I'm not really eloquent, so if anyone has questions or needs clarification, let me know.
If localization is not what you are trying to do, then you could just put them in a dictionary in a plist file. Have your app read the plist file at app startup and store in a global variable or some singleton that can be easily referenced throughout your app.
This is handled by the localization system. Look at NSLocalizedString() and Localizing String Resources. It should do exactly what you are looking for.

Resources