Git Product home page Git Product logo

rnblurmodalview's People

Contributors

danielphillips avatar dchohfi avatar ekaralar avatar rnystrom avatar shawnlaappledev 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rnblurmodalview's Issues

Please add semantic version tags

I’ve recently added RNBlurModalView to the CocoaPods package manager repo.

CocoaPods is a tool for managing dependencies for OSX and iOS Xcode projects and provides a central repository for iOS/OSX libraries. This makes adding libraries to a project and updating them extremely easy and it will help users to resolve dependencies of the libraries they use.

However, RNBlurModalView doesn't have any version tags. I’ve added the current HEAD as version 0.0.1, but a version tag will make dependency resolution much easier.

Semantic version tags (instead of plain commit hashes/revisions) allow for resolution of cross-dependencies.

In case you didn’t know this yet; you can tag the current HEAD as, for instance, version 1.0.0, like so:

$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags

How to cancel zoom scale?

For iPhone6 and iPhone6P, the view that blur view show in has a zoom animation, how to cancel this zoom scale?

Update Pod Specs

Need to update the Pod Specs in order to be able to use the latest changes via Cocoa Pods.

Rotation issue: animation jumps

Thanks for posting your RNBlurModalView, very helpful!
The view will be updated after rotation finished(UIApplicationDidChangeStatusBarOrientationNotification), so the animation seems to jump a little bit.
I know the reason to postpone the update operation to the time when rotation finished is to re-generate the blur view (RNBlurView), but any idea to make it not so sharp? Thanks!

RNBlurModalView beneath presented modal view

Hi, I call the RNBlurModalView on my viewDidLoad when the user is offline. It works fine on all views (they are pushed views), except for 1 modal view. The RNBlurModalView does not show on that presented view, but when I dismiss the view, the BlurModal is there, and cannot be dismissed. I tried presenting the RNBlur after a 5-second delay on viewDidLoad, but the behavior remains the same. Am I missing something?

UITableView crashes when i scroll through cells

I am using the following code to present my UITableView as a modal.

MusicViewController *MusicVC =[[MusicViewController alloc] initWithNibName:nil bundle:nil];
RNBlurModalView *modal;
modal = [[RNBlurModalView alloc] initWithView:MusicVC.view];
[modal show];
modal.isNavigationStyle = YES;
The MusicVC gets presented without any issues and i get a nice blur effect in the background . However when i scroll up and down the MusicVC tableview cells I get a crash. Any help much appreciated.

Below is how my viewDidLoad looks like

  • (void)viewDidLoad
    {
    [super viewDidLoad];
    self.music_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,SCREEN_WIDTH,SCREEN_HEIGHT) style:UITableViewStylePlain];
    self.music_tableView.delegate = self;
    self.music_tableView.dataSource = self;

    self.music_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    self.music_tableView.scrollEnabled = YES;
    self.music_tableView.backgroundColor = [UIColor clearColor];
    [self.music_tableView setContentInset:UIEdgeInsetsMake(64.0f,0.0f,44.0f,0.0f)];

    [self.view addSubview:music_tableView];

    [self getMediaResults:passed_performer_id];

}

Positioning of large views on iPad

RNBlurModalView appears to be ignoring the frame positioning I am giving to the view I am passing to BlurModal. This happens on iPad and is mostly an issue when in landscape.

iOS 7 Compiler warning fix line 706

To fix the compiler warning line 706, just add (img)) after CGImageGetBitmapInfo and you will remove the warning "Implicit conversion..."

// Update to fix iOS 7 warning
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef ctx = CGBitmapContextCreate(outBuffer.data,
outBuffer.width,
outBuffer.height,
8,
outBuffer.rowBytes,
colorSpace,
CGImageGetBitmapInfo(img));
CGImageRef imageRef = CGBitmapContextCreateImage (ctx);
UIImage *returnImage = [UIImage imageWithCGImage:imageRef];

Some errors while importing to project

Hi there,
I just tried to put your RNBlurModalView into my project, so I can play a bit with it. Unfortunatelly it produced error:

  1. in RNBlurModalView.m
    dispatch_once(&once, ^{
    closeButtonImage = [self closeButtonImage];
    });
    Receiver type 'RNCloseButton' for instance message does not declare a method with selector 'closeButtonImage'.
    kind regards
    F

Issue with modal view in tableviewcontroller

great library !

if the modal view is triggered in tableview controller when not on top of the table, it shows weird artifact. the label is not entered and the blur is not covering whole tableview.

Build failure

There's a literal error in:

free(pixelBuffer2)

Need to put semicolon at the end.

Pull request not managed

Why all these pull requests have not been menages yet? No commit for long time.
Let me know.
Thank you.

Button in custom view causes EXC_BAD_ACCESS when pressed

Hi there, and thanks for a nifty component.
I am using the following code to present a custom view :

    AproposView *apropos = [[AproposView alloc] initWithNibName:@"AproposView" bundle:nil];
    RNBlurModal *blurModal = [[RNBlurModalView alloc] initWithViewController:self view:apropos.view];
    [blurModal show];

In the AproposView, I have a button, which when I press generates an EXC_BAD_ACCESS message. I also tried other methods such as putting a tapgesture on an UIImageView but the result was the same.

Any pointers appreciated !

"_vImageBoxConvolve_ARGB8888" error

Hi,
i want to use RNBlurModalView in my project.
But i couldn't compile it because i got error below.
"_vImageBoxConvolve_ARGB8888", referenced from:
-[UIImage(Blur) boxblurImageWithBlur:] in RNBlurModalView.o

My project also contains another library for Twitter + OAuth and i am not sure is that error depend this library but Xcode fails while trying to compile that folder.

My project targets IOS 4.3

Parent View become blurred after dismissing RNBlurModalView

I use the library to show a modal view with buttons inside. If any of the buttons is clicked, it will dismiss the RNBlurModalView (by calling [modalView hide]) and show a standard modal view. After dismissing the standard modal view, the parent view is being shown. but when I display another standard modal view from the same parent view and dismiss it, the whole parent view becomes blurred.

Is there anyone out there facing this issue?

White background instead of blur.

First of all, awesome controller, great work.

I'm facing a problem when using it, the modal displaying with a white background, I've added it to a cocos2d project and used it like this

modal = [[RNBlurModalView alloc] initWithView:view];
[modal show];

What is the problem!?

Can i smoothen the blur in RNBlurModalView for RubyMotion app

I am trying to smoothen the Blurred backround by modifying the "kRNBlurViewMaxAlpha" value inorder to make the background elements clearly visible .... but am unable to overwrite it... Can you please help me out for overwriting "kRNBlurViewMaxAlpha" constants value..

showWithDuration and hideWithDuration

Hi there

Thank you for a fantastic framework, it works great!

One question though, can you show an example of how to use the showWithDuration and hideWithDuration options?

Thanks,

Ash

Long Text Issue

My explanation texts can be very long. At this time, the popup window does not exceed in the the screen. How can I solve this problem?

Thanks

Hi, I have two issues...

The 1st one is: I'm adding some buttons to the RNBlurModalView... Some of them, from the middle of the screen to the left are normally touchable... The other ones, from the middle to the right are not receiving the touch. It seems that when I touch them, I'm actually touching what is behing, on the parent viewcontroller... How to solve this?

Also, the 2nd one: How can I know when the RNBlurModalView is closed? is there a delegate method? I want to execute some stuff on the parent viewcontroller when the RNBlurModalView is closed. How to do that?

thank you so much!

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.