Download bit array image not work on IOS - ios

I have one page that renders one byte array image from api service.
This works fine, and i can download it from bowser and works in my web view for android, but not work download in my web view on IOS Device.

As far as I know, you can't download an image directly from a webview. The user must long press the image and then manually select save image.

Related

How to draw on a photo immediately after taking it, then use that image for further operation in Xamarin forms

I want to allow user to click image from camera and then edit that captured image before uploading it to server (similar to image editor that comes when we are uploading whats app status or sending images on whats app), I am not getting any hints how to do this in Xamarin forms.
Any help will be appreciated.
Hi you can use the media plugin which does quite what you want image and videos manipulations works fine with xamarin forms
https://github.com/jamesmontemagno/MediaPlugin hope this help

Accessing Images from gallery and showing in iOS app gallery

I have around 1000 ’s of Images, I want show them in my app. What are the possibilities to do that..
The ideas which I’m thinking
1.Saving all images in phone gallery. accessing images form gallery… but It seems not possible as each iOS app has its own sandbox.
2.Saving in my bundle which will increase the memory size.
In android there is a control called “ViewPager”, how can i achieve the same control in iOS ….
Tried scrollview with paging technique but crashes due to memory ....
Please guide me…..
I dont think you can show images from the gallery directly to your application . But you can store it into document directly , for that you have to first pick images from the gallery . you can refer
How to load photos from photo gallery and store it into application project?
And next time when you start application you can load images from the document directory so you dont need to go to the gallery again .

Download and save image when app launch for later use (table view)

I'm new to objective c. What I am trying to do is that I have a tableView which downloads the images from the internet (using dataWithContentsOfURL) and a custom cell. When the cell is clicked it will push to another view where it shows that image again. Everything works perfectly fine. However, what I do is to re download the image using the exactly same method i.e.dataWithContentsOfURL in the detail view. It is very slow and wasting resource. I am thinking is there any better way to do it, such as downloading all the images I need, and save it in the app somewhere (does not have a clue how to do it), and pull it out later and push to another view).
Please correct me, if my concept is wrong.
Many thanks in advance.

iOS image picker library not displaying image preview

We have been struggling with this bug for a while. It is really weird (as has been working fine in other projects). For some reason the image picker does not display the thumbnails, although the images are selectable a blank thumbnail is displayed.
Things we have already try without success:
Display this picker the first time when our app runs on the app delegate to avoid weird interactions
Use external libraries to get the images, they all present the same issue.
Create a new empty project with the same source code (only the part to display the picker)(in that case works fine)
Obviously is something related to our project setup or some weird interaction with a library... but no clue. Anyone?
Finally we found it, was a side effect of declaring a NSDictionary category to handle nil json values. Probably the library uses internally NSDictionary and was not liking our category.

creating an interactive page (videos, photos) for sharing on iOS device

I am building an iOS app, using storyboard. I have created a page where the user can create a page that will then be then published on DropBox and shared between all app users. this page lets you add photos, videos (not yet), and textviews (with scrolling enabled). Until know when the user presses the upload button, a screenshot is taken and uploaded, then views from a table view. but obviously it is just an image, so you can't scroll the textfields to see all the content and if I wanted to add the video support it would not be able to play it. I tried doing research on the internet, but I am a bit confused. Do I have to save all the components (UITextField...) separately, and place them in the same DropBox folder, and then put them all back together? What do you suggest? Is there a way?
Of course you will have to save the data separately...how else would your program know how to create the view? I recommend JSON or XML. Don't ask about how to structure it, that is a different question and one you should think about yourself.

Resources