Hi,
In SMS app, when sending a message, a semi-transparent black screen with a progress level indicator appears on top of the keyboard. I am looking for the same functionality. Infact, I had this working on SDK4 where I just add a view with the label and indicator as a sub view to main window. But, in SDK5 I notice it doesn't show, no matter where I add the view it always shows up behind the keyboard. Has anyone seen this issue? If so, I will go ahead and file a bug else I'll bang my head against the wall and try to figure out what am I doing wrong.
No,
I don't know if ActionSheet is the right choice for me. I am looking for a semi-transparent view that can be laid on top of the keyboard when I am processing the send or submit button. Once the data gets loaded I need to remove the semi-transparent view and remove the keyboard.
If you try sending a text message using the SMS application on your phone, you will see what I am trying to do.
I have tried several things like, bringSubviewToFront or sendSubviewToBack on the main view. But nothing works,
Thanks,
Javid
You could try adding it to the window and bring it to the front. Note that some of the built in controls assume a specific order and cause some grief when they re-arrange things.
Hey Scott,
I was adding the view to the window and used bringSubViewToFront but it always ended up displaying beneath the keyboard. Most likely I think it is a bug and will try filing a bug report.
Ok, I filed a bug and looks like it is not. I have to use another window to be able to show a progress view on top of keyboard.
Here is the response from Apple Engineers:
Quote:
Engineering has determined this issue behaves as intended based on the following information:
The keyboard will always appear at the front of the window which contains the keyboard-input accepting first responder, by design. SMS achieves its progress bar with another window.
We consider this issue closed. Thank you for taking the time to notify us of this issue.
I'm trying to achieve somewhat similar result. Did you get to show the progress bar in another window. Can you help me with some sample code? How can i open a new window with progress bar/indicator and close it when done?