uiimageview Questions

4

Solved

I use the following method to get a decompressed uiimage from file system. However the UIImageView is colored as red when I turn on the color blended layer, even though the UIImageView is set to Op...
Unwieldy asked 28/1, 2014 at 20:40

3

Solved

I have an app where the user can choose an image from the camera roll and than that image is loaded into an UIImageView. However, if the image is big there is a delay till the selected image actual...
Chromophore asked 31/7, 2015 at 20:18

12

I'm allocating a UIButtonTypeCustom to a UIView with a background image that is smaller than the button's frame. Reason why the image is smaller is because I'm trying to add more of a "target ...
Tennilletennis asked 30/12, 2011 at 2:30

3

Solved

I am setting up my launch screen with storyboard, and I'm using an image that is set to be a PDF template image. My goal is to put this image in a UIImageView and set tint color to it via Interface...
Mweru asked 29/9, 2017 at 14:29

1

I have a UIImageView in a UICollectionViewCell. I am using auto layout to set it to the top left of the cell with fixed width and height. When I set the image on the image view, from an image in ...

3

Solved

I've a UIImageView with a image with is a car with a transparent background: And I want to draw a border around the car: How can I reach this effect? At the moment, I've tested CoreGraphics ...
Meunier asked 12/9, 2014 at 11:38

5

Solved

I have a UIImageView that I want to add a shadow behind. I wish that apple had that as a property but they have to make lots of things hard for us programmers so I need to ask this question.
Gibeon asked 11/1, 2010 at 19:51

1

Solved

I have a UIImageView as the background for a view. User interaction is disabled. isAccessibilityElement is set to NO. This is verified by using debug view hierarchy when the app is running on devic...
Pell asked 27/1, 2021 at 15:19

2

I understand that it is impossible to use the .scaledToFit() modifier on an image with a frame of 120 and 430, with a frame modifier like .frame(height: 100, width: 100) and expect the image to som...

15

Solved

I have an UIImageView with an image. Now I have a completely new image (graphic file), and want to display that in this UIImageView. If I just set myImageView.image = newImage; the new image is...
Camenae asked 14/5, 2010 at 13:45

3

Solved

I have put an UIImageView control on my view with IB. The size of the control is just something I decided upon, pretty random size really What I want to do is the control to resize automatically wh...
Sox asked 26/9, 2012 at 13:36

3

Solved

I have 200px x 200px UIImageView on UICollectionViewCell that will display an image from URL. The problem is I don't know what resolution's image provided by the URL and I think it's better to resi...
Harleigh asked 24/8, 2016 at 23:44

9

Solved

I'm trying to create a UIImage View programmatically, I have a new view and I tried doing this let imageName = "yourImage.png" yourview.backgroundColor = UIColor.colorWithPatternImage(UIImage(name...
Enplane asked 26/10, 2014 at 2:59

5

I can add a titleView to my navigationItem very easily in code: UIImageView *navImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"nav_logo"]]; UIView *titleView = [[UIView alloc...
Watercress asked 10/4, 2015 at 22:33

8

Solved

I want my UIImageView to grow or shrink depending on the size of what the actual image it's displaying is. But I want it to stay vertically centered and 10pts from the leading edge of the superview...
Kreplach asked 9/11, 2014 at 21:38

7

Solved

I must add a UIImageView as subview of MapView. To do this I created a layer above the MapView. In this layer I want to put my image, but I get a white rectangle and nothing else. My image is not v...
Trueblood asked 7/11, 2012 at 15:12

4

Solved

I am trying to get from html string using regex which I am currently working on was this : extension String { func regex (pattern: String) -> [String] { do { let regex = try NSRegularExpress...
Shute asked 5/6, 2016 at 19:32

8

Solved

So I am using the SwipeView library (https://github.com/nicklockwood/SwipeView) to show images using the Photos framework for iOS8. However, when I call the requestImageForAsset I notice I am gett...
Titty asked 27/12, 2014 at 18:38

6

Solved

I modify the UIImageView's contentMode property. So my image's frame is not equal to the frame of UIImageView. My problem is how to retrive the image's frame from UIImageView. As the following exa...
Chymotrypsin asked 17/1, 2011 at 9:25

1

Solved

I looked at several answers for this problem but none helped. vc1 is a regular vc, I grab 20 images from firebase, in vc2 I use ARKit to display those images upon user selection. I have a collectio...

20

Solved

I'd like to check the color set for a background on a UIImageView. I've tried: if(myimage.backgroundColor == [UIColor greenColor]){ ...} else{ ...} but that doesn't work, even when I know the co...
Juniorjuniority asked 9/6, 2009 at 14:44

2

Solved

I am loading png images from the Document directory into an UIImageView. When using the xcode Debug memory graph it comes up with Memory issues: instances of NSPathStore2 leaked I have heard that...
Cagle asked 16/5, 2020 at 5:54

8

Solved

I would like to achieve : Scale to fill mode of image view Insets to UIImageView so that image does not meet the edges of the UIImageView Bottomline: I want to increase the touch area of the UI...
Excision asked 31/8, 2015 at 5:12

9

Solved

I need to load an image from a url and set it inside an UIImageView; the problem is that I don't know the exact size of the image, then how can I show the image correctly?
Sausauce asked 10/6, 2012 at 21:38

14

Solved

I have a UIImageView on each of my UITableView cells, that display a remote image (using SDWebImage). I've done some QuartzCore layer styling to the image view, as such: UIImageView *itemImageView...
Kroon asked 18/7, 2013 at 11:15

© 2022 - 2024 — McMap. All rights reserved.