uiimageview Questions
3
Solved
I used class made by "mayoff" (Rob Mayoff) "UIImageView+animatedGIF" which was proposed in one of the answers here on stackoverflow. UIImageView+animatedGIF
With it I can import animated .gif imag...
Macrophage asked 25/7, 2013 at 17:1
11
Solved
The setup is simple.
A ViewController with UIImageView that has an image assigned.
A UIButton that when clicked blurs the image in the UIImageView.
import UIKit
class ViewController: UIVie...
Baillieu asked 15/12, 2016 at 4:39
2
How can I add padding between an UIImageView and its border?
Img.layer.cornerRadius = Img.bounds.width / 2
Img.layer.borderWidth = 2
Img.layer.borderColor = UIColor.blue.cgColor
Img.clipsToBounds...
Neurophysiology asked 27/9, 2017 at 0:4
10
Solved
How to Hide Tab Bar Controller ?
I want to hide the Tab Bar controller with double tap on UIImageView.
Siderolite asked 19/9, 2011 at 5:34
2
Solved
I'm trying to crop a sub-image of a image view using an overlay UIView that can be positioned anywhere in the UIImageView. I'm borrowing a solution from a similar post on how to solve this when the...
Quintessence asked 1/5, 2017 at 14:26
3
Solved
Is there a way to wrap text from a UITextView around a UIImage without using CoreText?
I have been playing around with attributed strings without much luck, and CoreText just seems extremely comp...
Unblown asked 4/11, 2012 at 4:45
4
Solved
When i try to save an image in NSUserDefaults, the app crashed with this error.
Why? Is it possible to save an image with NSUserDefaults? If not, then how do I save the image?
Image...
Code......
Firecrest asked 1/4, 2015 at 23:10
4
Solved
Assume you have a triangle image you want to use at different angles (e.g., 180 degrees, 90 degrees).
Is it possible to rotate the triangle image within Storyboard, or do you need to do it program...
Vestibule asked 17/5, 2016 at 17:28
7
Solved
I'm writing an application for iOS 7.0+ and I wanted to use new feature witch is: imageWithRenderingMode. I have a map annotation with this code:
-(MKAnnotationView*)annotationView {
MKAnnotation...
Anderlecht asked 27/3, 2014 at 17:19
9
Solved
I know you can do this with a UIImageView, but can it be done to a UIImage? I want to have the animation images array property of a UIImageView to be an array of the same image but with different o...
Brandebrandea asked 22/2, 2011 at 22:35
9
Can somebody help me here?. New as iPhone Developer. I am trying to display a .png picture in a circle instead of a rectangle which is the standard for iPhone
Mackler asked 10/12, 2010 at 23:34
4
Could someone please provide me with an example of animating the opacity of an Image View in swift??
I couldn't even find a good example in objective c
func showCorrectImage(element: AnyObject){
...
Crescentia asked 18/11, 2014 at 13:19
7
Solved
I want to make a UIView or UIImageView that is a circle. Or a circle that i can change the size of using a slider, and the color of with a pickerview.
Execrable asked 10/12, 2009 at 4:17
4
Solved
I have a tableView with static cells. The cell contains an ImageView which fills it completely. And I have another smaller ImageViews atop. I position this ImageViews with constraints. I have a que...
Gyrostatic asked 24/6, 2016 at 11:25
5
Solved
Basically I want to take an image that the user chooses from their photo library and then apply a watermark, a triangle in the lower right that has the app name on it. I have the second image alrea...
Cheerio asked 11/8, 2011 at 2:10
5
Solved
I'm trying to add constraint to navigation bar, I have UIImageView, which has width, height and is centered horizontally, I want to add vertical space between UIImage and navigationBar to 0, I'm tr...
Dumfries asked 29/2, 2016 at 8:16
8
Solved
I am displaying a image from code here is the code
UIImageView *preArrowImage =[[UIImageView alloc]init ];
preArrowImage.image =[UIImage imageNamed:@"arrowprev.png"];
preArrowImage.frame = CGRectM...
Chili asked 15/6, 2013 at 5:24
7
Solved
Hey for some reason I am struggling with trying to set the height and width of one of my image views. I want to set it so the height only goes for 20% of my screen. I know to regularly set it you c...
Savill asked 10/7, 2015 at 16:30
3
Solved
How to animate the images from web service. I got the code to animate the images from bundle.How to load the images from the url an array
That code is attached below
UIImageView* animatedImageVie...
Yalta asked 24/6, 2013 at 11:18
4
I'm having a hard time making images on a UISegmentedControl keep their aspect ratio and not scale to all sides.
Here's what it looks like:
The images are 100X100(except nr 6 gonna replace soon) a...
Lapboard asked 13/8, 2016 at 20:19
10
I have been trying to mask a UIImage into a circle.
I'm using now the code that has been popular on other answers here, but although I do get a circle its edges are very jagged and not smooth.
Anyo...
Throwaway asked 13/9, 2011 at 9:6
10
Solved
In Objective-C such line
self.mainImageView.layer.cornerRadius = CGRectGetWidth(self.mainImageView.frame)/4.0f;
does its job, I tried it in Swift using analogy
self.mainImageView.layer.cornerRa...
Downtrend asked 9/1, 2015 at 13:13
6
Solved
UIImageView renders the size of an image incorrectly. Using Scale Aspect Fit, if the UIImageView is a square the image is the correct aspect ratio with transparency in the areas the image does not ...
Ger asked 15/1, 2015 at 10:58
2
Solved
I have an image, inside a UIImageView, that comes with a default color, let's say a custom grey.
In my code at some point I set a different tint in this way
myImageView.image = myImageView.image!...
Slim asked 12/2, 2017 at 11:28
8
Solved
What is the difference between UIImage and UIImageView? Can someone explain it with an example?
Halibut asked 9/11, 2011 at 19:57
© 2022 - 2024 — McMap. All rights reserved.