Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highlighted property is only for display within Interface Builder

How do I solve such warning? What does it mean in most of the cases?

When I click on it, there is nothing highlighted on my Interface Builder (it just zooms in on some area between 2 view controllers).

like image 704
syntagma Avatar asked Apr 15 '13 06:04

syntagma


2 Answers

You have a UIImageView with Highlighted set to true in Xcode. Xcode tells you that the value is for WYSIWYG but won't work at runtime.

like image 64
mohamede1945 Avatar answered Oct 16 '22 02:10

mohamede1945


After looking at warning message details I got to know, but still there was no way, I could find particular Image is having highlighted="YES"

Perfect Trick suggested by @Keller in Accepted answer's comment.

Just right click your Storyboard --> Open As --> Source Code.

search for

highlighted="YES

Just set YES to NO.

or event if you look carefully code around searched string, you can get in which ViewController's Scene particular ImageView.

Thanks to @Keller

like image 40
swiftBoy Avatar answered Oct 16 '22 01:10

swiftBoy