Coder Social home page Coder Social logo

Comments (5)

rivera-ernesto avatar rivera-ernesto commented on June 16, 2024

The demo project as committed here doesn't seem have that problem. Updating CocoaPods (committed here with 0.35.0) and GPUImage to check again.

from ios-nbuimagepicker.

DanH-SyncInteractive avatar DanH-SyncInteractive commented on June 16, 2024

So I have:
pod 'NBUImagePicker'

Which installs:
Installing GPUImage (0.1.6)
Installing Lockbox (2.1.0)
Installing MotionOrientation@PTEz (1.1.0)
Installing NBUCore (2.0.4)
Installing NBUImagePicker (1.5.3)
Installing NBUKit (2.4.1)
Installing RBVolumeButtons@PTEz (0.1.1)

When I download the demo project and run it, the issue doesn't occur. But I can't work out whats causing it in my project.

As I said, the choose library is fine. Its just take a photo.

from ios-nbuimagepicker.

rivera-ernesto avatar rivera-ernesto commented on June 16, 2024

I'm pretty sure it's particular to your project. I suggest you trying to find out where that gradient view comes from by inspecting it with Xcode's UI Hierarchy tool.

http://www.raywenderlich.com/98356/view-debugging-in-xcode-6

from ios-nbuimagepicker.

DanH-SyncInteractive avatar DanH-SyncInteractive commented on June 16, 2024

Okay thanks for the info.

For reference I worked out what was causing the issue, incase anyone else stumbles on the same problem.

Essentially I was adding a gradient background view to my window as per the following code. Removing this fixed the issue... hoorah!

UIView *bgView = [UIView new];
[bgView setFrame:self.window.bounds];
CAGradientLayer *lineGradientLayer = [CAGradientLayer layer];
lineGradientLayer.frame = bgView.bounds;
lineGradientLayer.colors = @[(id)[self.window.backgroundColor CGColor],
                             (id)[[UIColor colorWithHexString:@"#4E5C6A"] CGColor]];
lineGradientLayer.locations = @[@0.0, @1.0];
[bgView.layer insertSublayer:lineGradientLayer atIndex:0];
[self.window addSubview:bgView];
[self.window sendSubviewToBack:bgView];

Thanks for the quick replies Rivera.

from ios-nbuimagepicker.

rivera-ernesto avatar rivera-ernesto commented on June 16, 2024

Good to hear that! Thanks

from ios-nbuimagepicker.

Related Issues (16)

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.