Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-13-2008, 10:32 AM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 298
Default Activity Screen on top of keyboard?

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.

Thanks,
Javid
javid.alimohideen is offline   Reply With Quote
Old 05-13-2008, 11:39 AM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 802
Default Re: Activity Screen on top of keyboard?

Are you using a sheet to do this? Since that's like a modal view it may be placed at a higher level than the keyboard like an alert.
scottiphone is offline   Reply With Quote
Old 05-13-2008, 11:55 AM   #3 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 298
Default Re: Activity Screen on top of keyboard?

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
javid.alimohideen is offline   Reply With Quote
Old 05-13-2008, 02:01 PM   #4 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 802
Default Re: Activity Screen on top of keyboard?

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.
scottiphone is offline   Reply With Quote
Old 05-13-2008, 02:18 PM   #5 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 298
Default Re: Activity Screen on top of keyboard?

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.

Thanks for your help,
Javid
javid.alimohideen is offline   Reply With Quote
Old 05-15-2008, 02:58 PM   #6 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 298
Default Re: Activity Screen on top of keyboard?

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.
javid.alimohideen is offline   Reply With Quote
Old 05-15-2008, 03:52 PM   #7 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 802
Default Re: Activity Screen on top of keyboard?

Good to know. That confirms what seems to be happening in some of these cases.
scottiphone is offline   Reply With Quote
Old 01-15-2009, 04:18 AM   #8 (permalink)
New Member
 
Join Date: Dec 2008
Location: Islamabad, Pakistan
Posts: 42
Default

Hey!

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?
__________________
Mustafa
ghulam.mustafa is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nicely centered "Loading" spinner (activity indicator) ? bonehead iPhone SDK Development 4 09-01-2009 03:32 PM
Displaying Activity indicator when webpage is loading... WayneDavidDaley iPhone SDK Development 1 07-06-2008 02:00 PM
Screen rotation in tab bar - nav controller combo mademo iPhone SDK Development 0 07-03-2008 10:56 AM
Does anyone Know the dimensions of iphone screen fusion777 iPhone SDK Development 5 07-01-2008 06:44 PM
Add New Contact screen transition Ronnie iPhone SDK Development 0 06-26-2008 10:26 AM


» Advertisements
» Online Users: 257
15 members and 242 guests
@sandris, ADY, Alsahir, dacapo, Dani77, Desert Diva, djohnson, HemiMG, jansan, M@realobjects, MarkC, prchn4christ, smethorst, tomtom100
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:57 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0