How to hide images in ios?



How to hide images in ios?..

Answer / Manish Jha

To hide an image in iOS, you can set its alpha property to zero or hide it by setting the isHidden property to true. Another approach is to use UIView's addSubview and removeFromSuperview methods to dynamically show and hide the image.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

How to shut off message alerts in ios?

1 Answers  


Describe @objc inference?

1 Answers  


Define fast enumeration?

1 Answers  


What is iphone architecture?

1 Answers  


Garbage collector in iphone?

1 Answers  


Explain the difference between copy and retain?

1 Answers  


 Whats a struct?

1 Answers  


What is nslayoutanchor?

1 Answers  


Can you please explain the difference between frame and bounds?

1 Answers  


What is category and class extension?

1 Answers  


What is core data in ios swift?

1 Answers  


Where do you test the developed apps if you do not have the device?

1 Answers  


Categories