Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Use Drop Down Error Notification instead of pop-ups in iOS

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 202
    Comment on it

    Popups are amazing way to notify/alert user, popups provide us necessary additional info about the app and can be used for assisting user when anything went wrong. After using traditional popups now it’s time for Dropdown popups.

    1. Click on the link-   https://github.com/onemightyroar/YRDropdownView
    2. Download YRDropdownView.h\.m files from the above link & add them in your project.
    3. After adding both files just import YRDropdownView.h" in ur desired Viewcontroller.
    4. Add this function to utility class or any of your desired class-
      + (void)showErrorDropDown:(UIView *)view title:(NSString *)title message:(NSString *)message extremeTop:(BOOL)extremeTop{
          [YRDropdownView showDropdownInView:view title:title detail:message image:nil backgroundImage:[UIImage imageNamed:@"bg-orange"] titleLabelColor:[UIColor whiteColor] detailLabelColor:[UIColor whiteColor] animated:YES hideAfter:3.0 extremeTop:extremeTop];
      }
      
    5. And u can call ur dropdown as-- 
      [Utility showErrorDropDown:self title:APP_TITLE message:@"YOUR DESIRED TEXT" extremeTop:YES];
      Thanks for reading

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: