Utility Application infoButton Stays on Top

I used a utility application template to create my application, but I am using a UIImagePicker to pick some photos. The little infoButton, the i with a circle around it, shows up when the picker is displayed. If the infoButton was not in another class then I could call infoButton.hidden = YES; and it would hide it. Any ideas how to solve this problem? Thanks, -Pat

Answers


I took a look at the utility application template, the view controller with a gray background and an info button is MainViewController, and the instance is also the "mainViewController" property of the application delegate.

It seems that you have already created an IBOutlet to the infoButton, so, you can access the button by calling [UIApplication sharedApplication].delegate.mainViewController.infoButton .


Need Your Help

How to call a custom function from html with angularjs?

javascript html angularjs

I'd like to define separate methods within my js controllers as follows:

Correct usage of owl:someValue?

rdf semantic-web owl ontology

If we want to say every thing that has a book is literacy, is this the correct representation in an OWL ontology?