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

View Single Post
Old 06-19-2008, 02:30 PM   #2 (permalink)
bonehead
New Member
 
Join Date: Apr 2008
Location: Onomatopoeia, Lugubriousylvania
Posts: 225
Default Re: Nicely centered "Loading" spinner (activity indicator) ?

The trick here was figuring out the actual height of the view in which the activity indicator is embedded, in order to center it properly. This was made problematic by the fact that the view had both a navigation title bar and a tab view bar at the bottom.

I ended up calculating a "content area frame" by subtracting out the height of the nav bar and title bar from the main content view.
bonehead is offline   Reply With Quote
 

» Advertisements
» Online Users: 585
16 members and 569 guests
chemistry, ckgni, devangvyas, Domele, Gambit, hiddendemo, ilmman, linkmx, mohe01pro, Objective Zero, PetarPM, Prolocksmith12, savvycom, Speed, StormFactory, sudama
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,780
Threads: 89,204
Posts: 380,599
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Prolocksmith12
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:32 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.