uiimageview Questions

17

Solved

Is it possible to read the name of an UIImageView's UIImage that's presently stored in the UIImageView? I was hoping you could do something kind of like this, but haven't figured it out. NSString...
Dignify asked 16/11, 2009 at 5:36

10

Solved

How do I make a UIImageView with rounded corners on a Swift iOS Playground? Inside it needs to be filled with a color.
Margarettamargarette asked 24/8, 2014 at 20:43

4

i need a to change the Thumb image of UISwitch in ios 7, i googled a lot and find nothing..any suggestions or code will be appreciated,below is my required functionality. i need to change Defa...
Jin asked 20/1, 2014 at 7:56

4

Solved

I have a custom UIView that contains a UILabel and a UIImageView. How do I make my UIView clickable? I want the background of the UIView to change any time a user starts to press down on the UIView...
Downdraft asked 19/3, 2013 at 3:29

9

Solved

I am new to swift (and Xcode development in general) and I was wondering how to make an ImageView on the storyboard clickable. What I'm trying to do is make it so when its clicked, it shows another...
Coin asked 23/3, 2015 at 3:33

10

Solved

Rather than creating two UIImageViews, it seems logical to simply change the image of one view. If I do that, is there anyway of having a fade/cross dissolve between the two images rather than an i...
Stephanestephani asked 3/10, 2011 at 18:3

2

Solved

I have a UIImageView whose user interaction is true and to which I have given a tap gesture recognizer, whose action handler is as follows: @IBAction func tap(_ sender:UITapGestureRecognizer) { l...
Rosanne asked 10/6, 2018 at 18:52

12

Solved

I'm trying to assign an UIImageView to an action when the user taps it. I know how to create an action for a UIButton, but how could I mimic the same behavior of a UIButton, but using a UIImageVie...
Stableboy asked 10/1, 2015 at 19:59

13

Solved

In the case below, there are two UIImageViews with the same settings and the same template image... But one tints the image, and one does not I duplicated working UIImageView and placed it instead...
Nash asked 13/12, 2016 at 12:42

4

Solved

I have an app where I have a UIImageView which displays main image and another UIImageView being used as a mask which shows a circle which is transparent and outside its opaque, this circle can be ...
Aho asked 23/11, 2013 at 18:3

14

Solved

I am using UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIPopoverControllerDelegate these delegates for choosing image from my gallery or my camera. So, how can I get image ...
Raddle asked 14/12, 2015 at 8:49

11

I have an UIView with an UIImageView subview. I need to load an image in the UIImageView without blocking the UI. The blocking call seems to be: UIImage imageNamed:. Here is what I thought solved t...
Oatmeal asked 4/10, 2013 at 10:37

6

Solved

I am trying to add a sublayer on my UIImageView but it doesn't work. I have a set of 10 images named from photo0 to photo9 and I display it with a timer of 5s. The outlet shanghaiImage is my ba...
Idealize asked 3/11, 2016 at 15:44

7

I want to implement a TableView with a Custom TableViewCell showing an image. To make this simple, I simply put a UIImageView inside a tableviewcell using autolayout (illustrated below). What I ...
Mafala asked 29/8, 2015 at 1:40

7

In every UITableViewCell of a UITableView I'm placing an image in its imageView. However, if I increase the height of a cell using tableView:heightForRowAtIndexPath: to accomodate more text, I've f...
Overweight asked 17/11, 2010 at 20:20

4

Solved

I want to animate images in SwiftUI's Image view First, I tried creating some variables and a function to toggle the Image("imageVariable"). It changes but there is no animation even tried the wit...
Iron asked 22/7, 2019 at 17:52

8

Solved

I am downloading images from parse with file totes PNG and JPEG. When image is downloaded to the app I need to determine what the file type is so I can handle image accordingly. Had a look at API...
Vanderbilt asked 15/4, 2015 at 7:32

12

Solved

I'm developing an iOS 4 application with iOS 5.0 SDK and XCode 4.2. I have to show some post blogs into a UITableView. When I have retreived all web service data, I use this method to create an UI...
Coating asked 20/3, 2012 at 11:37

15

Solved

I want to make an image like this programmatically: I have the upper image and text with me. Should I write text on the image? I want to make it a complete .png image(image + label) and set it ...
Addi asked 9/8, 2011 at 7:33

6

Solved

I would like to add a UIImageView animated inside an UICollectionViewCell so I came up with this code: import UIKit class MainViewController: UIViewController, UICollectionViewDataSource, UIColl...
Jedlicka asked 2/9, 2015 at 14:47

1

Solved

I am using UIImageView In my UIViewController. In my case, I want to do if my image view changes then let me know if it was changed or not.
Theodoratheodore asked 14/5, 2021 at 11:28

10

Solved

I had the following code: UITapGestureRecognizer *showStoryTapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(showNewsStory:)]; [showStoryTapRecognizer setDelegat...
Mellisamellisent asked 19/7, 2012 at 0:9

14

Solved

Is it possible to setup UIImageView to handle image orientation? When I set the UIImageView to image with orientation RIGHT (it is photo from camera roll), the image is rotated to right, but I want...
Sybilla asked 18/1, 2012 at 18:49

7

Solved

I have a UIImageView that displays a bigger image. It appears to be centered, but I would like to move that image inside that UIImageView. I looked at the MoveMe sample from Apple, but I couldn't f...
Burge asked 2/4, 2009 at 17:9

20

Solved

I am loading an image to an imageview with mode as 'Aspect Fit'. I need to know the size to which my image is being scaled to. Please help.
Fed asked 8/6, 2011 at 12:45

© 2022 - 2024 — McMap. All rights reserved.