Giter Club home page Giter Club logo

kvnprogress's People

Contributors

danipralea avatar donirn avatar enderoe avatar eytanbiala avatar foffux avatar iwb-kevin-hirsch avatar jeffreyjackson avatar kevin-hirsch avatar kronik avatar neoneye avatar spacedrabbit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kvnprogress's Issues

minimumDisplayTime not working

Hi,
I have a project in which I'm using this wonderful library.
I have a situation where I want to show an status for at least x seconds. I use the configuration to set minimumDisplayTime, set the config for KVNProgress and show the status, but unfortunately when I call dismissWithCompletion: it doesn't honor the x seconds and gets dismissed prematurely! I'm making sure it's called on main thread, so no worries there.

Now, I have investigated some more, when I set all minimum display times (status, error, success) and call showError or showSuccess it works perfectly.

have you encountered such behavior? thanks.

Wrong behaviour on iPad

If I use KVNProgress on iPad it has wrong width (too big) on any orientation. Does it support iPad?

Progress view does not display in with accessibility bold enabled

I have not figured out to what extent this bug exists but I do know it exists in my specific context.

I have many UIViews inside a UIScrollView that I am paging through. The last of which I add the KVNProgress view to with a KVNProgressBackgroundTypeSolid and clearColor backgroundColor.

When the accessibility option Bold text is enabled this causes the scrollViews height to get updated to 0 and no views in the scrollView to display.

I can fix this by changing KVNProgress.m:878 from [UIImage emptyImage] to nil.

[KVNProgress showProgress: status: onView: ] (on view not working?)

I just updated from 2.1.3 to 2.1.5 today, and now have this issue. Please see attached screenshot.

In my custom view xib .m, I am calling showProgress: status: onView:, but KVNProgress always centers itself vertically and horizontally on the main view. In my xib, I have a UIView that I set the frame to 50x50 and set ClipsSubviews = YES. The KVNProgress view positions itself outside of the UIView, and is not clipped. Here is the complete code. Please let me know if I can provide any more information.

As a side note, why do all the views 'behind' the KVNProgress become dimmed? Can I prevent that that?

Thanks, love this.

    -(id)initWithCoder:(NSCoder *)aDecoder {

        self = [super initWithCoder:aDecoder];
        if (self) {
            self.clipsToBounds = YES;
            self.backgroundColor = [UIColor orangeColor]; //for debugging the frame
            self.customConfiguration = [self customKVNProgressUIConfiguration];
            [KVNProgress setConfiguration:self.customConfiguration];
            [self progress];

        }
        return self;
    }

    - (KVNProgressConfiguration *)customKVNProgressUIConfiguration
    {
        KVNProgressConfiguration *configuration = [[KVNProgressConfiguration alloc] init];

        configuration.statusColor = [UIColor whiteColor];
        configuration.statusFont = [UIFont fontWithName:@"HelveticaNeue-Thin" size:15.0f];
        configuration.circleStrokeForegroundColor = [UIColor colorWithRed:0/255.0 green:174/255.0 blue:237/255.0 alpha:1];
        configuration.circleStrokeBackgroundColor = [[UIColor darkGrayColor] colorWithAlphaComponent:0.3f];
        configuration.circleFillBackgroundColor = [UIColor clearColor];
        configuration.backgroundFillColor = [UIColor yellowColor]; // for debugging the frame
        configuration.backgroundTintColor = [UIColor redColor]; // for debugging the frame
        configuration.successColor = [UIColor greenColor];
        configuration.errorColor = [UIColor redColor];
        configuration.circleSize = 75.0f;
        configuration.lineWidth = 2.0f;
        configuration.backgroundType = KVNProgressBackgroundTypeSolid;
        configuration.fullScreen = NO;

        return configuration;
    }

    -(void)progress {

        //[KVNProgress showProgress:0];
        [KVNProgress showProgress:0
                           status:nil
                           onView:self.viewProgress];
        [self updateProgress];

    }

    - (void)updateProgress
    {
        dispatch_time_t popTime1 = dispatch_time(DISPATCH_TIME_NOW, 1.0f * NSEC_PER_SEC);
        dispatch_after(popTime1, dispatch_get_main_queue(), ^(void){
            [self updateWithProgress:[self getRandomProgressWithMin]];
        });

        dispatch_time_t popTime2 = dispatch_time(DISPATCH_TIME_NOW, 2.0f * NSEC_PER_SEC);
        dispatch_after(popTime2, dispatch_get_main_queue(), ^(void){
            [self updateWithProgress:[self getRandomProgressWithMin]];
        });

        dispatch_time_t popTime4 = dispatch_time(DISPATCH_TIME_NOW, 3.0f * NSEC_PER_SEC);
        dispatch_after(popTime4, dispatch_get_main_queue(), ^(void){
            [self updateWithProgress:[self getRandomProgressWithMin]];
        });

    }

    -(void)updateWithProgress:(double)progress {

        if (!isComplete) {
            [KVNProgress updateProgress:progress
                               animated:YES];
        }
    }

screenshot at dec 21 19-56-01

constraints error

This happens in the iPad simulator with a progress hud:

Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x7fd978f82970 H:[UILabel:0x7fd978f7ff60'Loading...']-(20)-| (Names: '|':UIImageView:0x7fd978f7fe20 )>",
"<NSLayoutConstraint:0x7fd978f82a10 H:|-(20)-[UILabel:0x7fd978f7ff60'Loading...'] (Names: '|':UIImageView:0x7fd978f7fe20 )>",
"<NSLayoutConstraint:0x7fd978f82db0 H:[UIImageView:0x7fd978f7fe20]-(249)-| (Names: '|':KVNProgress:0x7fd978f7eb30 )>",
"<NSLayoutConstraint:0x7fd978f82e00 H:|-(249)-[UIImageView:0x7fd978f7fe20] (Names: '|':KVNProgress:0x7fd978f7eb30 )>",
"<NSLayoutConstraint:0x7fd978f7da00 H:[KVNProgress:0x7fd978f7eb30(320)]>"
)

Built in counter - does it exist?

Is there a built in counter so that:

[KVNProgress showWithStatus:@"Loading"];
[KVNProgress showWithStatus:@"Loading"];
[KVNProgress dismiss];

Since 2 shows were called and 1 dismiss was called, it should keep ProgressBar running until a final dismiss is called to balance the 2 shows.

cocoapods version 2.1.6 is broken

First up, thanks for a great library! :-)

Anyways, trying to install (or update an existing install) by using the following line in the podfile

pod 'KVNProgress'

gives a warning that pods cannot find the Pods/KVNProgress/LICENSE file. Additionally, Xcode cannot compile as it is missing a file KVNProgressConfiguration.h.

changing podfile line to

pod 'KVNProgress', '2.1.4'

resolves issue

Adding Animated Flag To Presentation (show) And Dismissing (hide)

I was thinking about modifying this library to allow toggling of animations like iOS's native UI View Controllers. Right now the KVNLayoutAnimationDuration property is not exposed and what I'm proposing would be a major version point release breaking change.

Essentially, I want to propose adding an animated flag to all shows/dismisses in KVN just like apple exposes on its View Controller presentation

// Present
- (void)presentViewController:(UIViewController *)viewControllerToPresent
                     animated:(BOOL)flag
                   completion:(void (^)(void))completion
// Dismiss
- (void)dismissViewControllerAnimated:(BOOL)flag
                           completion:(void (^)(void))completion

With an animated property, I'm proposing changing all of the show/hide calls of KVN to have an animated property. Like I mentioned above, this would break anyone using a 2.x version of the application so it would also require a version bump.

What do you think about this?

showSuccessWithStatus layout is buggy when overlapped with UINotification registrar alert view

After my application launches, I'm downloading data and showing the status with KVNProgress. After the download is complete, I'm showing the success status with a message.

However, if the user is launching the application for the first time and if I'm trying to register for remote notifications, the success layout behaves strange when the user taps on an option to dismiss the alert view.

This does not happen with a normal alert view, only with UINotification registrar view.

I have uploaded video capture of two instances here: https://www.youtube.com/watch?v=suegxQtywhc

I will also be pushing workarounds -if any- to this repo: https://github.com/kublaios/KVNProgressBug

Any ideas or suggestions?

CompletionBlock for success/error messages.

I really missed the withCompletion parameter existing on dismiss method, in other methods like showError and showSuccess.

Sometimes we need to show a success HUD and then call something on UI (in my scenario I need to pop current viewcontroller as soon as HUD disappears).

Actually I'm calling "performSelector:withObject:afterDelay" with success/error animation durations as last parameter, but I don't like this approach very much.

Behavior when unbalanced show/dismiss

I have uncovered a strange behavior when there are more show's than dismiss's.

Example code:
[KVNProgress showWithStatus:@"Loading Notifications..." onView:window]; [KVNProgress showWithStatus:@"Loading Notifications..." onView:window]; NSLog(@"%@", window.subviews); [KVNProgress dismissWithCompletion:^{ NSLog(@"%@", window.subviews); }];

I have two potential expectations when I run this. Either I will have a progress view still being displayed (as I added it twice, but only removed it once) or the progress view will be completely removed from the screen (as there is, in reality, only one instance of KVNProgress). This is evident when I view the subviews on window, I am given this output:

    "<UITransitionView: 0x12f82f040; frame = (0 0; 414 736); autoresize = W+H; layer = <CALayer: 0x12f82f200>>",
    "<KVNProgress: 0x12e5a3140; frame = (0 0; 414 736); alpha = 0; autoresize = W+H; tintColor = UIDeviceRGBColorSpace 1 1 1 1; layer = <CALayer: 0x12e5a3530>>"

But, neither of those expected cases occur. The code results in no progress view on the screen, but interactions are still being blocked (as if there is a transparent view covering the entire screen). This is further supported as if I look at the subviews after the dismiss (within the completion block), I can see that KVNProgress is still part of the view.

"<UITransitionView: 0x13612abf0; frame = (0 0; 414 736); autoresize = W+H; layer = <CALayer: 0x13612adb0>>",
    "<KVNProgress: 0x134ddb280; frame = (0 0; 414 736); alpha = 0; autoresize = W+H; tintColor = UIDeviceRGBColorSpace 1 1 1 1; animations = { opacity=<CABasicAnimation: 0x13627a6a0>; }; layer = <CALayer: 0x134ddb670>>"

The only difference is that now it is not visible.

However, if I were to have two dismiss's, it would completely remove the progress view (and my interaction with the rest of the UI would no longer be intercepted).

I do understand that unbalanced show/dismiss calls is not ideal, but I do feel confident in saying that this current behavior (becoming not visible but still intercepting touches) doesn't make sense.

Thoughts?

Showing loader above keyboard?

Is it a possibility to present the loader over the keyboard? Currently displaying the loader while a text field is the first responder, leaves the keyboard visible (and active) which lets the user act on it.

From what I know it should be possible to create a new UIWindow with a Status Bar Level so the progress view could overlay the keyboard as well.

What are your thoughts on this?

Thank you :)

minimumDelayBeforeDisplay feature

This wonderful library already supports minimumDisplayTime and it is very useful, but I need something to better handle unknown operations. what I mean is: my app' going to call a web service to acquire some information, naturally it can't be sure how long it'll take, it can be less than a second, or up to a few seconds depending on network speed. now, with all the tools we have now, we can display the indeterminate progress for all operations and use minimumDisplayTime to make sure it doesn't get jumpy, but that's not good enough, it could be great if we could couple minimumDisplayTime with something like: minimumDelayBeforeDisplay to make sure we are not showing any progress if the operation was instantaneously! Of course it needs to be paired with minimumDisplayTime because the operation's duration is still unknown.

This could be very useful I think. Thanks.

Compiling issue Xcode 5.1

Into KVNProgress.m class, into rotationForStatusBarOrientation method, you defined:

case UIInterfaceOrientationUnknown:

But with Xcode 5.1 this will give me a compiler error. Take a look:

  • (CGFloat)rotationForStatusBarOrientation {
    switch ([UIApplication sharedApplication].statusBarOrientation) {
    case UIInterfaceOrientationLandscapeLeft:
    return -M_PI_2;
    case UIInterfaceOrientationLandscapeRight:
    return M_PI_2;
    case UIInterfaceOrientationPortraitUpsideDown:
    return M_PI;
    case UIInterfaceOrientationPortrait:
    case UIInterfaceOrientationUnknown:
    return 0;
    }
    }

Just remove "case UIInterfaceOrientationUnknown:", it has no sense. In my understanding.

Rotation doesn't seem to work

Is anyone else seeing issues with rotation?

When using iOS 7, the display just doesn't rotate at all.
In iOS 8 it rotates but is no longer centred.

Showing the hud then hiding it immediately leaves the hud with alpha 0 over the main view preventing user interaction

We've got a long running task that sometimes can be skipped. We figure that out in a background thread.
We popped up a KVNProgress up, then due to the fact the background task could be skipped, dismissed it almost immediately. This left a hud with alpha = 0 on the screen and we couldn't interact with it.

We've solved this by being smarter about the display, but perhaps there should be a NSOperationQueue that performs the animations making sure that the hud can never be in this state.

Loader view not visible on iOS 9.0

Lib was installed via CocoaPods. After calling KVNProgress.showWithStatus("Please wait") nothing happened and loader is not visible. When I call it like this: "KVNProgress.showWithStatus("Please wait", onView: self.view)", then I see just a spinning loader without blur and background (If I set backgroundType = KVNProgressBackgroundType.Solid then background is visible). The same behaviour when I just add source code of the lib and resources to the project.

App crashing when trying to set value

[KVNProgress showWithStatus:@"Loading"]; //produces below error

Error:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<KVNProgress 0x15554d1b0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key contentViewLeadingToSuperviewConstraint.'

Stop button on Cocoapods

Hi,
i downloaded the cocoapods version and the stop button did not fount the function.
I could't use the cocoapods version.

Please fix it.
p

Swift Question

I am converting my existing project to Swift and just came across a small hiccup

Previously, I assigned a tap block as such:
KVNProgressConfiguration *config = [Configuration errorProgressConfig];
config.tapBlock = ^(KVNProgress *progressView) {
KVNProgress.configuration.tapBlock = nil;
dispatch_async(dispatch_get_main_queue(), ^{
[KVNProgress dismiss];
});
[self goBack];
};

Everything else with KVNProgress has worked effortlessly with Swift, but how can I translate this to Swift and assign the tap block? Not quite sure how to use a Closure to do this.

Progress HUD not shown: iOS 8

Hello
Unfortunately I found out a regression in the progress HUD. Everything is working fine under iOS 7, but under iOS 8 I cannot see the progress HUD displayed and what I get in my output window is:


2015-02-26 12:00:09.407 Angel[6336:100953] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x792c4740 H:[UIImageView:0x792cf380(-50)]>",
"<NSLayoutConstraint:0x792d6890 H:[UILabel:0x792c8480'Loading...']-(20)-| (Names: '|':UIImageView:0x792cf380 )>",
"<NSLayoutConstraint:0x792df990 H:|-(20)-[UILabel:0x792c8480'Loading...'] (Names: '|':UIImageView:0x792cf380 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x792d6890 H:[UILabel:0x792c8480'Loading...']-(20)-| (Names: '|':UIImageView:0x792cf380 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2015-02-26 12:00:09.407 Angel[6336:100953] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x792c4740 H:[UIImageView:0x792cf380(-50)]>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x792c4740 H:[UIImageView:0x792cf380(-50)]>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

I tried to move

[KVNProgress setConfiguration:[self customKVNProgressUIConfiguration:_deviceScreenSize]];
    [KVNProgress showWithStatus:NSLocalizedString(@"Loading...", nil)];

in "viewDidAppear" method instead of in "viewDidLoad" method. The first time I am able to display the progress HUD, but from the second one I get the same "warning message" in the output window and I was not able to see the progress HUD.

Could you try to fix it?

Thank you very much.

HUD sometimes disappears because of old dismiss timer

When a HUD has a tap to dismiss button and auto-hide after a few seconds, a race condition exists when the HUD has been dismissed through a tap and a new HUD is shown shortly thereafter.

Scenario
  • user starts a task with tap on button, progress HUD is shown
  • task finishes shortly thereafter, success HUD is shown, with auto-dismiss after 3 seconds and tap-to-dismiss block.
  • user taps on said HUD, causing it to be dismissed
  • user quickly starts task again, progress HUD is shown
  • now the old auto-dismiss timer from previous success HUD kicks in, hiding the HUD
Solution

The call to [KVNProgress dismiss] should cancel any running dismiss-timers.

Problem

You can't cancel a dispatch_after block, so that needs to be rewritten to use, for example, NSTimers.

A way to decrease time to get back an "Error" shown on HUD

Hello @kevin-hirsch .
I want to ask for a question. When I use tour HUD in my apps, it could happen that network connection is not good or even not present at all. In these scenarios, since I configured an infinite loop circle, app could stop and wait for a connection error response for a long time. My question is: is there any setup I could use to decrease the maximum connection time I will wait for before telling user communication is down?
In other words: is there any change to configure your HUD to get back an "Error" shown on it?
I hope my question is clear enough for you.
Let me know.
Thank you.

Unlimited Display Time & Buttons

Another thought that could be great to add in would be the ability to have the display time as unlimited so it stays on the screen until the dismiss is triggered.

Also whilst it on the screen the other ability would be to add a button to the unlimited display time so for example shows an 'error' with buttons indicating that the user has no internet and user can press like 'retry' to try again or something..

[KVNProgress Show] -> [KVNProgress ShowSuccess] animation glitch?

Sorry to add more to your pile ;) I noticed that there is an animation issue going on when transitioning from [KVNProgress Show] to [KVNProgress ShowSuccess]. The circle doesn't "morph" into the success checkmark as it used to. It seems as though a new "success" view is created and animated into place.

Here is a link to a recording of what I am experiencing:
https://www.youtube.com/watch?v=bAFHN-BnSBI&feature=youtu.be

Here is the complete code:

    -(void)saveCoverPhoto:(UIImage *)photo {

        [KVNProgress show];

        NSData *imageData = UIImagePNGRepresentation(photo);
        PFFile *imageFile = [PFFile fileWithName:@"picture.png" data:imageData];
        [imageFile saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
            if (!error) {
                if (succeeded) {
                    PFUser *user = [PFUser currentUser];
                    if (coverPhoto) {
                        user[@"coverPicture"] = imageFile;
                    } else {
                        user[@"picture"] = imageFile;
                        user[@"thumbnail"] = imageFile;
                    }

                    [user saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
                        if (succeeded) {

                            [self initUI];
                            [KVNProgress showSuccess];
                        } 
                    }];
                }
            } else {
                [KVNProgress showErrorWithStatus:@"Could not update picture"];
            }
        }];
    }

Expose status bar color change

Looks like the color is updated for the status bar based on the uicolor category. Is there any way to not do this at the moment and keep my app status bar color?

Change the color of the HUD dynamically

Hey, thank you for your library. Can you tell me how to change a color of "backgroundFillColor" and "circleFillBackgroundColor" dynamically?
For example. I had set a color as red. I pressed a button and a HUD had appeared with the red color. Then i had changed the color and the color of the HUD was the same.

Progress or message notification tries to re-draw itself

Sometimes when the loading indicator is displaying (Indefinite or message, error, success) it decides to show the indicator again! I mean it re-draws (with animation and all) the same indicator all over again. especially when something happens on the underlying view or a rotation or a notification...

Blur isn't applied on background view until it's rendered onto screen

So I wanted to show a KVNProgress HUD as soon as a view controller's view appears on the screen, so the user can only see the blurred overlay.

Right now if you call [KVNProgress show] is anything other than the -viewDidAppear, the HUD's background is totally transparent.

I would suggest listening to the view's properties to determine when its visibility changes and redraw the blur when that happens. Open to here other ideas.

Custom Image

Would it be possible in a future update to include the option to add a custom image instead of the 'tick' and 'cross' icon?

Please allow Carthage Support

Carthage is becoming increasingly popular as a dependency manager for iOS projects. Please consider merging in my PR at #64 to allow this by default.

This commit, if merged in, requires a new tag to be pushed so that Carthage can find the correct version/commit.

Thanks!

KVNProgress bug with swift.

I have the problem with KVNProgress.

  • showProgress(0, "Downloading...") Show Correct
  • updateProgress(Some CGFLoat value, animate:trre ) >> It's a problem

Not sure it's delay? because I watched it's moving to 1.0 have a few delay but for 0.1 0.2 etc. Nothing moves.

Crash with iOS SDK 8.1, KVNProgress 2.1.8

A crash I have never seen with previous versions both iOS SDK and KVNProgress
Crash occurs here:

In KVNProgress.m
self.backgroundImageView.image = [UIImage emptyImage];

+[UIImage emptyImage]: unrecognized selector sent to class 0x2a2c2cc
see log at the end

solve using this line of code:
self.backgroundImageView.image = [[UIImage alloc] init];

Could you please try to fix it in your whole architecture?
Thank you very much.

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIImage emptyImage]: unrecognized selector sent to class 0x2a2c2cc'
*** First throw call stack:
(
0 CoreFoundation 0x035bd1e4 exceptionPreprocess + 180
1 libobjc.A.dylib 0x0323d8e5 objc_exception_throw + 44
2 CoreFoundation 0x0365a0e3 +[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x035ad50b __forwarding
+ 1019
4 CoreFoundation 0x035ad0ee _CF_forwarding_prep_0 + 14
5 Angel 0x00180bfc -[KVNProgress updateBackground] + 2028
6 Angel 0x0017f783 -[KVNProgress setupBackground] + 115
7 Angel 0x0017afa9 -[KVNProgress setupUI] + 201
8 Angel 0x00179480 -[KVNProgress showProgress:status:style:backgroundType:fullScreen:view:completion:] + 2912
9 Angel 0x001788b0 +[KVNProgress showHUDWithProgress:style:status:superview:completion:] + 336
10 Angel 0x00177cb3 +[KVNProgress showWithStatus:onView:] + 179
11 Angel 0x00177bdc +[KVNProgress showWithStatus:] + 108
12 Angel 0x00025a4d -[RMAMapsViewController viewDidLoad] + 397
13 UIKit 0x0201733d -[UIViewController loadViewIfRequired] + 696
14 UIKit 0x0203d345 -[UINavigationController _layoutViewController:] + 39
15 UIKit 0x0203d85b -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 235
16 UIKit 0x0203d953 -[UINavigationController _startTransition:fromViewController:toViewController:] + 78
17 UIKit 0x0203e8cc -[UINavigationController _startDeferredTransitionIfNeeded:] + 645
18 UIKit 0x0203f4e9 -[UINavigationController __viewWillLayoutSubviews] + 57
19 UIKit 0x021800d1 -[UILayoutContainerView layoutSubviews] + 213
20 UIKit 0x01f67964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355
21 libobjc.A.dylib 0x0324f82b -[NSObject performSelector:withObject:] + 70
22 QuartzCore 0x0096645a -[CALayer layoutSublayers] + 148
23 QuartzCore 0x0095a244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380
24 QuartzCore 0x0095a0b0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
25 QuartzCore 0x008c07fa _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294
26 QuartzCore 0x008c1b85 _ZN2CA11Transaction6commitEv + 393
27 QuartzCore 0x008c2258 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
28 CoreFoundation 0x0358536e CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30
29 CoreFoundation 0x035852bf __CFRunLoopDoObservers + 399
30 CoreFoundation 0x03563254 __CFRunLoopRun + 1076
31 CoreFoundation 0x035629d3 CFRunLoopRunSpecific + 467
32 CoreFoundation 0x035627eb CFRunLoopRunInMode + 123
33 GraphicsServices 0x047885ee GSEventRunModal + 192
34 GraphicsServices 0x0478842b GSEventRun + 104
35 UIKit 0x01ef8f9b UIApplicationMain + 1225
36 Angel 0x000359ad main + 141
37 libdyld.dylib 0x03ec4701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

setupStopUI is not called when the configuration is set to showStop

It still shows the default HUD when I set the config to showStop to YES and added a block method on tapBlock and also added stopColor to red and stopRelativeHeight to 0.3f. I have added a log message on setupStopUI on KVNProgress.m but it is not called when the HUD is displayed. The stop feature is working but the stop UI is not there.

Hud is not shown in full screen mode !

when i set _fullScreen = YES , the hud is not shown on a collection view, but it appears on others !

i used method line : [KVNProgress showErrorWithStatus:@"In Progress "]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.