Question

I've developed an iPhone App and most of it is accessible but I have an issue with one thing I do.

When the user clicks the settings button in the App (it has a main menu with a bunch of buttons for various Applications) I add a UIView on the top and and darken the background screen. Unfortunately for a blind person this UIView doesn't become "active", ie they are still navigating around the background screen.

I initially added the UIView using addSubview: and then tried insertSubview: atIndex: but neither have operated as expected.

Edit: Further information there are text fields and a button on this screen, perhaps I could instead make one of them active or something?? No idea how I would do this though.

Was it helpful?

Solution

How about using becomeFirstResponder? It makes the control receiving this message active and the receiver of input. For UITextView etc. it brings up the keyboard.

OTHER TIPS

I didn't get what you are saying, but I thought there may be problem with the view added on the top.

Do one thing, if you added the view using interface builder then select the view and click on Layout menu in the Menu bar and select "Send to Back".

or else if you add that through code, then write code as

[self.view sendSubViewToBack:addedView];

Regards,

Satya

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top