Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6987181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:54:13+00:00 2026-05-27T18:54:13+00:00

In my Universal app, in iPAd part I am resizing the activity indicator… I

  • 0

In my Universal app, in iPAd part I am resizing the activity indicator…

I want to resize my activity indicator..

But there are really iOS problems
first here is my code…

-(void)startSpinner {

    spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];



/*spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; */    
        spinner.hidden = NO;


    NSLog(@"Start Spinner");   

    if([self isPad])
 spinner.frame = CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height/2,100, 100);
else
 spinner.frame = CGRectMake(self.view.frame.size.width/2, self.view.frame.size.height/2,50, 50);



     NSLog(@"Dpinner size %f",spinner.frame.size.width);

        [spinner setHidesWhenStopped:YES];


           [self.view addSubview:spinner];
                [self.view bringSubviewToFront:spinner];
        /*1*/       **[spinner setColor:[UIColor blackColor]];**
                [spinner startAnimating];

        }

Problem 1:

iOS 5.0 : It is showing me activity indicator but could not resize it.
Size is not changing in isPAd Method.

iOS 4.3 :
It is giving me Signal Abort Error on changing the color. /1/Bolded Line in code to set color.
Here If I remove setColor in iOS 5.0 in WhiteLargeStyle it is not showing me in White background.

Here If I use Activity Indicator style like gray it is absolutely small in iPAd.works but could not resize.

In iOS 4.3 frame get effects but ios 5.0 frames are not effective…

So, How should I resize the activity indicator…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:54:14+00:00Added an answer on May 27, 2026 at 6:54 pm

    Consider using custom progress indicators as it will give more flexibility.

    I am using MBProgressHUD and it’s simple and great for me.

    You can get it here –
    https://github.com/jdg/MBProgressHUD

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to run my universal app into device(iPad) but am getting this linker
I have a Universal app (iPhone/iPad) which is very basic. There is a List
I am testing a Universal app (IOS 4.3) on both iPhone/iPad simulator. It has
I have created a universal app but would like to temporarly disable ipad until
So I'm making a universal app (iphone3gs/iphone4/ipad/)... But I have a question about images.
I'm working on a new app that I want to be universal for the
I'm building an app which is a universal iPhone/iPad app. I'd like to support
I have a iPhone/iPad app (universal binary) with a regular UIWebView that displays webpages
When you distribute an iphone/ipad universal app do you compile it against the 3.1.3
Possible Duplicate: Merging existing iPhone and iPad app ids into a single universal app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.