Questions tagged [mbprogresshud]

MBProgressHUD is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread.

MBProgressHUD is meant as a replacement for the undocumented, private UIKit UIProgressHUD with some additional features. MBProgressHUD works on any iOS version and is compatible with both ARC and non-ARC projects.

The github page is here

322 questions
1
vote
1 answer

Undefined symbols for architecture i386 arises when building Xcode4.3.2 project

the error above arises when i attempt to build an Xcode project , the details of the error appears below , i can't understand the reason of this error, or how to resolve it, please help, thanks. Undefined symbols for architecture i386: …
Eslam Hamdy
  • 7,126
  • 27
  • 105
  • 165
1
vote
1 answer

Using a custom animation with MBProgressHUD

Has anyone here tried to use a custom animation with MBProgressHUD. There is a custom view option but it's only for a somewhat static display that you've completed a task. I'm looking for a way to replace the spinning spokes with, for example, a…
b1ueskyz
  • 13
  • 2
  • 7
1
vote
1 answer

alternate between 2 UITableViews application freeze

I am working with a ViewController, that delegates & datasources 2 different tableviews. according to what the user wishes to see (toggling happens with 'touchesBegan' for certain areas in the view. The viewcontroller is one of 3 subcontrollers of a…
Sebastian Flückiger
  • 5,525
  • 8
  • 33
  • 69
1
vote
2 answers

MBProgressHUD dismissal

I have a MBProgressHUD that shows when data is being pulled on the background asynchronously. Sometimes when the network is slow this will take forever. So as of now I am just hiding it after 30 seconds if it hasn't been dismissed. What is a good…
xonegirlz
  • 8,889
  • 19
  • 69
  • 127
1
vote
3 answers

performSelector: withObject: afterDelay not executing for MBProgressHUD

I have the following method for a MBProgressHUD: [progressHUD performSelector:@selector(hide:) withObject:[NSNumber numberWithBool:YES] afterDelay:kMessageHidingDelay]; the delay is 2.0 here, however it's…
adit
  • 32,574
  • 72
  • 229
  • 373
1
vote
1 answer

MBProgresshud set it in landscape

i am implementing MBProgresshud in my app in AppDelegate file -(void)showProgressHUD:(NSString*)msg{ if(mbProcess!=nil && [mbProcess retainCount]>0){ [mbProcess removeFromSuperview]; [mbProcess release]; …
Hiren
  • 12,720
  • 7
  • 52
  • 72
1
vote
2 answers

MBProgressHUD tap to cancel, longer text?

I'd like to use MBProgressHUD (or similar look) as alternative to default UIAlertView. I need a canceling capability on this view. I tried adding the following method to MBProgressHUD class but it didn't get called when touched. Any idea? (void)…
eugene
  • 39,839
  • 68
  • 255
  • 489
1
vote
2 answers

MBProgressHUD call from ViewDidLoad

I call my rss parser from MBProgressHUD and at the moment it's in viewdidappear and it works, however I want it in viewdidload so when I go back it doesn't reload it - however when I move it in to viewdidload it runs the process but not the…
MissCoder87
  • 2,669
  • 10
  • 47
  • 82
1
vote
2 answers

How to show MBProgressHUD on iPhone without spawning new threads?

I want to show an MBProgressHUD in my iPhone app without spawning new threads. I have a very complicated set of business logic which sometimes (but not always) needs to wait for user input, and running on multiple threads ends up asking for user…
Jason
  • 14,517
  • 25
  • 92
  • 153
1
vote
1 answer

MBProgressHUD naming convention clarification

I came across a very nice API MBProgressHUD, however when I was reading the documentation in the header MBProgressHUD.h I got confused since the doc says that - (id)initWithWindow:(UIWindow *)window; is a convenience constructor. According to Apple…
mrd3650
  • 1,371
  • 3
  • 16
  • 24
1
vote
2 answers

MBProgressHUD hide from another class

I have a class that handles request to a webservice. When this start to fetch information from the service I create and add a HUD on another class view. Like this, HUD = [[MBProgressHUD showHUDAddedTo:viewController.view animated:YES]…
Silversnail
  • 386
  • 1
  • 6
  • 23
1
vote
2 answers

have MBProgressHUD call a method that returns a value

I would like to use MBProgressHUD with... [HUD showWhileExecuting:@selector(fetchDomainStatus) onTarget:self withObject:nil animated:YES]; but I need to call a method (fetchDomainStatus) that returns the domainStatus (an int). How can I do that…
mputnamtennessee
  • 372
  • 4
  • 14
1
vote
2 answers

ProgressHUD only appears after a second try

XCode: 11, Swift: 5, iOS: 13 My ProgressHUD (showSuccess and showError, e.g.) only appears if I use a function a second time. After restarting the app and for example, uploading a picture, no progress image appears. When I upload a picture again, it…
JohnDole
  • 525
  • 5
  • 16
1
vote
2 answers

iOS - MBProgressHUD bezelView to be transparent

I am using MBProgressHUD and want to make the bezelView to br transparent. import UIKit import MBProgressHUD class ProgressBarManager { func showProgressBar() { guard let testView = UIApplication.shared.windows.last else { return } …
ironRoei
  • 2,049
  • 24
  • 45
1
vote
0 answers

Show and hide MBprogressHUD multiply times in a swift function

a function is doing multiply things in blocks. I want to hide hud when a task is done and shows the hud for the next task. but it shows the hud at first and hides it in the end. whats the problem? This is my code: @IBAction func syncBtn(_ sender:…