Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Insert Icon in Navigation Bar / make BarButtonItem not clickable Swift iOS [closed]

$
0
0

I would like to place a Bluetooth icon in my Navigation Bar, to display a connected / disconnected status.

I tried to add a BarButtonItem, set the image as my Bluetooth icon, and disabled and enabled this Button. This works fine so far, and is looking OK to me, but I don't want to have this button clickable, so that it doesn't change the color on clicking on the icon.

Is this possible, or is there a way to put a UIImageView into the Navigation Bar?


Viewing all articles
Browse latest Browse all 12111

Trending Articles