uiimageview Questions
4
Solved
I would imagine what I am trying to do is quite simple, but I can't seem to figure it out. I know how to apply a gradient on a UIImage using an UIImageView, but that is not what I want. What I want...
Actinochemistry asked 4/6, 2014 at 0:8
7
I have a fullscreen background image that is tiled, i.e. it has to be reproduced a few times horizontally and vertically in order to make a big one. Like in the browsers on ugly home pages ;)
Is U...
Stannwood asked 14/7, 2009 at 13:1
19
Solved
I have a UIView with an UIImageView dragged onto the view. All of a sudden, for all my xibs, the image no longer shows up. There is a blue X. However, when it builds, the image is there.
At one po...
Arri asked 16/4, 2010 at 3:15
1
Solved
I want to setImage with UIImage directly and not from any Source, Resource.
I already have my image and want to set it with caching to my imageView.
let myImage = UIImage
kingfisherView.kf.setIma...
Droplet asked 21/3, 2019 at 8:41
2
Solved
My UIImageView is in aspect fit mode which leaves blank space beneath the actual image.
The blue space is what I want to eliminate so the imageView wraps the image (if only I had wrap content). ...
Lamkin asked 6/7, 2017 at 15:0
4
Solved
I've searched loads of SO stuff and in Apple's references, but still unable to manage my problem.
What I have:
A screen with 2 UIImageViews and 2 UIButtons connected to them
2 kinds of animation...
Botch asked 5/3, 2012 at 16:9
9
Solved
I have two UIImageViews. One is the 'Front' and the other is the 'Back'.
I'm trying to implement it so that when you click onto the 'Back' it will trigger the animation and flip the card.
The anim...
Halbeib asked 15/9, 2016 at 19:40
3
Solved
I would like to ask how to scale an image to fill a UIImageView but still keep its aspect ratio, just like the centerCrop scale type of Android ImageView does.
Furmenty asked 7/2, 2019 at 6:29
3
Solved
I'm trying to set a constrain of "0" to a UIImageView from the sides (left & right) but when I add the constrain with "Constrain to margin" checked, it pins the image all the way to the edge of...
Solicit asked 25/9, 2017 at 17:25
6
I have a UIImageView that contains an image. At the minute the user can click to save the image within the UIImageView to disk.
I would like to make it so that the the user can click to rotate th...
Allanadale asked 28/7, 2013 at 14:31
2
Solved
I would like to resize any downloaded images so they maintain their aspect ratio, however are all as wide as the UITableViewCell they are rendered in.
My UIImageView is configured with the content...
Nomarch asked 21/1, 2019 at 15:48
5
Solved
This is stumping me. I have a UIView (call it "parent"). The bottommost subview of that view is a UIImageView (call it "child"), whose frame occupies the entirety of the "parent" bounds.
I want to...
Pittsburgh asked 14/9, 2010 at 2:10
2
Solved
I've spent hours in trying to figure this one out.
Goal
Display P3 PDF Asset in UIImageView (the PDF is 100% in P3 Color Space).
Issue
I'm creating a P3 PDF asset and adding into the Xcode. Wit...
Yiyid asked 1/7, 2018 at 10:24
2
Solved
Can any one help me...! I just want to set a corner radius to an image and also the image has to be fit in AspectFit scale.
If I give scaleToFill mode I can use the below code and its working fin...
Basidium asked 29/7, 2016 at 9:34
16
I had got an iPad application.The ViewContrtoller.xib has got an UIImageView in it. The UIImage of the UIImageView is set through Interface Builder. When I run the application in simulator everythi...
Quiche asked 17/12, 2010 at 5:46
6
Solved
I have a UIImageView that allows a user to place and hold an image until it can be saved. The problem is, I can't figure out how to actually save and retrieve the image I've placed in the view.
I ...
Lavatory asked 25/7, 2011 at 19:51
10
I have an image view, declared programmatically, and I am setting its image, also programmatically.
However, I find myself unable to set the image to both fit the aspect and align centre to the im...
Divided asked 19/3, 2013 at 12:21
1
According to my test I only face this issue when making Archive and uploading it to Fabric or iTunesConnect. It's OK in simulator and on real device in debug. I tried both pdf and png. And I tried ...
Anthe asked 22/11, 2018 at 9:29
3
Solved
I surely hope I am missing something because I do not understand why this is working the way it does. I have a PNG Image, which has a fully transparent background because I want to overlay it on ot...
Scala asked 4/10, 2015 at 18:5
9
The image.size attribute of UIImageView gives the size of the original UIImage. I would like to find out the size of the autoscaled image when it is put in the UIImageView (typically smaller than t...
Armor asked 23/12, 2008 at 16:27
8
Solved
I would like to know what to do to save 2 images into 1 image.
One of the photos can be moved, rotated and zoomed in/out...
I'm doing this, but it basically captures all the stuff on the screen i...
Sniper asked 13/2, 2012 at 9:17
5
Solved
So I have an image view titled cashOrCredit and have am trying to set it's image programatically but somehow not able to.
First I set the image like this
cell.cashOrCredit.image = UIImage(named: &q...
Heaume asked 22/8, 2017 at 8:23
8
Solved
NSError *error = nil;
NSURL *url = [NSURL URLWithString:[imageLinks objectAtIndex:0]];
NSData *tdata = [NSData dataWithContentsOfURL:url options:NSDataReadingUncached error:&error];
if (error) ...
Visser asked 17/6, 2012 at 15:42
6
Solved
I am trying to make a circle UIImageView, and it works. Below is the way I use to make it:
[self.pic.layer setMasksToBounds:YES];
[self.pic.layer setCornerRadius:50.0];
I would like to add some ...
Swanee asked 23/8, 2013 at 13:2
3
Solved
I want to add a corner radius to a UIButton. It is working fine but a problem occurs when I add image to it.
It does not round its corners with images, the image is shown in full rectangle form.
...
Placenta asked 14/4, 2011 at 8:6
© 2022 - 2024 — McMap. All rights reserved.