I noticed in one of my apps that the activity indicator doesn't seem to work on an iPhone 4. It works fine on an old iPhone upgraded to iOS 4 just not on an iPhone 4. Does anyone know why it isn't working?
+1
A:
oddly it uses a transparent alpha channel on the iPhone 4. A solution may be to add a kind of background...
Matthias
2010-06-29 10:40:07
A:
I had the same problem, but found that if I coded it rather than using Interface Builder it worked.
mick80234
2010-08-05 20:35:23
A:
If your design allows, you can also use the UIActivityIndicatorViewStyleGray or attempt to add a dark shadow to the activityView's layer.
joshpaul
2010-08-10 22:03:30
+1
A:
This code should do the job, is that correct;)?
#import <QuartzCore/QuartzCore.h>
...
activityIndicatorInstance.layer.shadowColor = [UIColor grayColor].CGColor;
activityIndicatorInstance.layer.shadowRadius = 1;
activityIndicatorInstance.layer.shadowOpacity = 0.5;
activityIndicatorInstance.layer.shadowOffset = CGSizeMake(0, 1);
joshis
2010-10-12 14:42:46
This does work pretty well.
Will Harris
2010-10-13 16:08:41