Giter Site home page Giter Site logo

Comments (3)

grimabe avatar grimabe commented on July 18, 2024

Because I was not using the latest version of your ImagePickerSheetController it is not exactly the same lines of code in the class now. But the error is still the same and the workaround still working.

from imagepickersheetcontroller.

lbrndnr avatar lbrndnr commented on July 18, 2024

Thanks for the issue. I fixed this already in the swift-2.0 branch. It isn't merged yet because it's still WIP.

from imagepickersheetcontroller.

D-Wang avatar D-Wang commented on July 18, 2024

I still see this problem when run the example, have you merged?
here is the crash log:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'layout attributes for supplementary item at index path (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}) changed from <UICollectionViewLayoutAttributes: 0x7f874a7708d0> index path: (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}); element kind: (UICollectionElementKindSectionHeader); frame = (46.7011 5; 47 119); hidden = YES; zIndex = 1; to <UICollectionViewLayoutAttributes: 0x7f874a45f6d0> index path: (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}); element kind: (UICollectionElementKindSectionHeader); frame = (46.7011 5; 47 271); hidden = YES; zIndex = 1; without invalidating the layout'
*** First throw call stack:
(
0 CoreFoundation 0x0000000109be5f65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b9a4deb objc_exception_throw + 48
2 CoreFoundation 0x0000000109be5dca +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010a02eae2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 UIKit 0x000000010ad8cafd __45-[UICollectionViewData validateLayoutInRect:]_block_invoke + 921
...

from imagepickersheetcontroller.

Related Issues (20)

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.