Giter VIP home page Giter VIP logo

Comments (7)

ermalkaleci avatar ermalkaleci commented on July 21, 2024

hey @gca3020
I am not sure what you are trying to do.
ezgif-4224294470

from carbonkit.

gca3020 avatar gca3020 commented on July 21, 2024

That's strange. That's very similar to what I'm doing, except mine is crashing. Only when I have the search bar active.

Other minor differences are that my table currently has no items in it (empty array), and that I'm moving tabs between two instances of the same TableVC, both with a search bar at the top.

from carbonkit.

gca3020 avatar gca3020 commented on July 21, 2024

Some additional details on the exception:
2016-02-01 06:43:17.183 MyApp[8384:2378159] *** Assertion failure in -[_UIQueuingScrollView _setWrappedViewAtIndex:withView:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.30.14/_UIQueuingScrollView.m:332 2016-02-01 06:43:17.191 MyApp[8384:2378159] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected subviews' *** First throw call stack:

A Google search shows this, which looks similar:
http://stackoverflow.com/questions/24675000/uipageviewcontroller-nsinternalinconsistencyexception

from carbonkit.

galip91 avatar galip91 commented on July 21, 2024

I am having the exact same issue with an UISearchBar. when it's in focus or firstResponder and I click on a different tab it crashes.
my code is the same as @gca3020's

from carbonkit.

galip91 avatar galip91 commented on July 21, 2024

any updates on this issue?

from carbonkit.

ermalkaleci avatar ermalkaleci commented on July 21, 2024

This crash is cause by UISearchController, so you should consider dismissing the search before changing tab

from carbonkit.

anuranBarman avatar anuranBarman commented on July 21, 2024

I had the similar issue. If you are hiding the search bar on tab switch make sure you are hiding it in the delegate function

func carbonTabSwipeNavigation(_ carbonTabSwipeNavigation: CarbonTabSwipeNavigation, willMoveAt index: UInt)

This will solve the problem I guess. I was playing with the constraint of the search bar. so I put the code in the above function and it worked well.

from carbonkit.

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.