uiimageview Questions

3

Solved

I'm trying to dynamically resize the frame of a UIView. I can update the frame in the code and see that the values have changed, but the actual display never changes, even though I run setNeedsDisp...
Metopic asked 7/6, 2016 at 14:29

7

Solved

I'm drawing round avatar pics, by just applying cornerRadius to a UIImageView's layer, and also adding a border via borderWith and borderColor. Like so: self.layer.masksToBounds = YES; self.layer....
Belamy asked 24/10, 2013 at 12:17

23

Solved

While choosing an image from the image picker in iOS 10 Swift 3 I am getting an error - Creating an image format with an unknown type is an error func imagePickerController(picker: UIImagePickerC...
Torry asked 18/8, 2016 at 4:14

2

I'm looking for a solution to create this red box: It is using a color filter 'Multiply'. Currently I have found this information: https://developer.apple.com/library/mac/documentation/GraphicsI...
Eadwina asked 9/4, 2015 at 14:20

6

Solved

I'm looking at replacing ALAssetsLibrary with Photos framework in my app. I can retrieve photos, collections, and asset sources just fine (even write them back out), but don't see anywhere to acce...
Zygo asked 27/6, 2014 at 23:31

4

I have a class and inside the class is a (swift) array, based on a global struct. I want to save an array with this class to NSUserDefaults. This is my code: struct mystruct { var start : NSDate ...
Coccidiosis asked 28/8, 2014 at 10:36

3

Solved

I want UIAlertController to present an alert with UIImageView in an ActionSheet. But when I run the application it is terminating. This is my code: UIAlertController *alert = [UIAlertController ...
Lavinalavine asked 16/6, 2016 at 1:2

4

I am looking for a beginning to end code example of retrieving an image from Firebase Storage, just to show an image. Either as an image view or for a table. I have looked at posts on here and vari...
Genevagenevan asked 8/9, 2016 at 18:54

3

Solved

I'm rotating UIImageView using this: [UIView beginAnimations:nil context:nil]; [UIView setAnimationBeginsFromCurrentState:YES]; [UIView setAnimationCurve:UIViewAnimationCurveEaseIn]; myImgView.tra...
Kristopher asked 7/10, 2013 at 8:12

1

Solved

tvOS 12 has a new framework TVUIKit, which introduces the lockup views. The class I am interested in is TVPosterView, which is basically designed as such: Swift 4.2 open class TVPosterView : TVLo...
Jerold asked 27/7, 2018 at 8:26

11

Solved

I got this Base64 gif image: R0lGODlhDAAMALMBAP8AAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAACH5BAUKAAEALAAAAAAMAAwAQAQZMMhJK7iY4p3nlZ8XgmNlnibXdVqolmhcRQA7 Now I want to displ...
Distich asked 2/9, 2009 at 10:10

3

Solved

I am working on Photo Editing App and I have 3 Scrollviews with UIImageview, I want to set ScrollViews as Below I had Tried "Scenekit" but It won't work because I want ScrollableView. Basicall...
Pitchstone asked 20/7, 2018 at 9:44

5

Solved

I am using the following code to move a UIImageView that is present inside of a UIView. - (IBAction)handlePan:(UIPanGestureRecognizer *)recognizer { CGPoint translation = [recognizer translation...
Lubalubba asked 21/6, 2013 at 12:2

3

Solved

When I capture the contents of an MTKView into a UIImage, the resulting image looks qualitatively different, as shown below: The code I use to generate the UIImage is as follows: let kciOptions...
Windup asked 11/3, 2018 at 19:29

6

I am creating instruction screen for my app where I have to place a full screen sized image. For that purpose I have to consider all screen sizes and thus I have created a Launch image set in Asset...
Haleigh asked 25/1, 2017 at 7:16

3

Solved

I sometimes face a very strange issue on launch screen. I'm using a xib file with just a UIImageView on it, however sometimes the image is just a black rectangle. I've tried to switch between .jpg...
Andriaandriana asked 2/12, 2015 at 12:9

2

Solved

What way is more convenient to set image from my app assets in my app Image View? I have two ways: the first one is function UIImage(named: String) or UIImage and both is working for me, but I want...
Airboat asked 24/6, 2018 at 22:34

2

Solved

I'm using AlamofireImage to download and set my UIImage: backdrop.af_setImageWithURL(downloadURL) The image is substantially larger than what I will be displaying and so I have an issue with ali...
Danieladaniele asked 27/6, 2016 at 20:1

16

How can I set the border of a UIImage?
Notus asked 30/8, 2009 at 20:20

3

Solved

I'm trying to get the frame size of a UIImageView inside a UICollectionViewCell. I have currently tried to achieve this using thumbnailImageView.frame.size but this returns (0.0, 0.0) no matter whe...
Thierry asked 17/6, 2018 at 11:51

5

Solved

I'm using a background image, and I would like it to weigh little without losing quality. I found this option in Xcode. Project-> Packaging -> Compress PNG Files This would help me to impr...
Tish asked 1/12, 2012 at 3:28

2

I have an imageview inside a UITableViewCell. Imageview with Aspect Fit creates a lot of extra space in the top and bottom if the image is large. The extra space (gray background color) is shown ...
Swastika asked 20/7, 2016 at 9:49

6

Solved

I am trying to NSLog when I swipe over an UIImageView with this code, but it does not work for some reason. Any idea ? @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; ...
Boeschen asked 29/7, 2013 at 15:11

5

Solved

I have a UIImageView which shows an UIImage. The UIImage may change to other UIImage in different size, and the position and the size of the UIImage inside will change according according to it. ...
Electrodialysis asked 13/10, 2014 at 20:55

3

Solved

Thanks for looking. Here's my code CIImage *result = _vignette.outputImage; self.mainImageView.image = nil; //self.mainImageView.contentMode = UIViewContentModeScaleAspectFit; self.mainImageView...
Furor asked 8/4, 2013 at 11:37

© 2022 - 2024 — McMap. All rights reserved.