Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I need to save My Audio Files to Photo Album like Video and Image Save to Photo Album.
Check the below code. its working for me. We can store Audio/Video files using this code.
UISaveVideoAtPathToSavedPhotosAlbum([[NSBundle mainBundle] pathForResource:#"sub" ofType:#"caf"], nil, nil, nil); // [[NSBundle mainBundle] pathForResource:#"sub" ofType:#"caf"] is Url path.
Thanks
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have a program that download a video from a url using NSURLConnection, but i'm not able to do multiple download at the same time.
How can i do it?
AFNetworking is a very popular framework for doing this and I think it will help
check this https://github.com/AFNetworking/AFNetworking
and this: Download a file / image with AFNetworking in iOS?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is it possible to request images from a server, put them into an Array of images and display them with PhotoScroller ? I downloaded the sample code from the apple development web site and dived into code. But i didn't find the place where to put our images instead of the sample images, and more, to get images from a server and not from the phone.
Thanks for any help or pointers on this question :).
You could use the UIImageView category extension UIImageView+AFNetworking to easily display images from a URL in a UIImageView. The library is available here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Hey guys im new to ios programming and new to objective C. My question is is it poosible to display a html file that is stored in the supporting files folder to display in a webview upon click of a button.
If you want to load a local HTML file within the app, then use the below code
self.wView.dataDetectorTypes = UIDataDetectorTypeLink;
NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:INDEX_PAGE ofType:#"html" inDirectory:DIRECTOY_PATH]]; //Directory Path Example: ipad/main/pages
[self.wView loadRequest:[NSURLRequest requestWithURL:url]];
Put this code in your button handler method
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
It is possible to remove selected photo from album or photos library in IOS ?
If yes how ??
I need the code.
In short it is NOT possible to delete photo from album so best way is stop fighting with it just read for more information
https://discussions.apple.com/thread/1413776?start=0&tstart=0
Also check this
Is is possible to delete photos from cameraRoll programmatically...?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
How can i get facebook profile picture and set it as button image. I have a button that will show facebook picture as its image. Help me out
Here is the simple stuff:
NSData *imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:#"https://graph.facebook.com/1457691266/picture?type=square"]];
// Exchange 1457691266 with the ID of the user
yourProfilePicBtn.imageView.image = [UIImage imageWithData:imageData];