Giter VIP home page Giter VIP logo

unballanced's Introduction

unbalanced

Unbalanced calls to begin/end appearance transitions

ViewController1 is in a container.

ViewController2 in modally presented in current context, so it also stays inside the bounds of the container.

ViewController3 is modally presented in default style, so it appears full screen.

All looks good, but when we dismiss back to ViewController1 we get

Unbalanced calls to begin/end appearance transitions for <ViewController1: 0x7fefe5c07520>.

and viewWillAppear doesn't get called for VC1.

2018-03-13 10:04:58.265869+0800 unbalanced[40810:29306627] ViewController1 viewWillAppear
2018-03-13 10:04:58.273213+0800 unbalanced[40810:29306627] ViewController1 viewDidAppear
2018-03-13 10:05:01.750584+0800 unbalanced[40810:29306627] ViewController1 viewWillDisappear
2018-03-13 10:05:01.750774+0800 unbalanced[40810:29306627] ViewController2 viewWillAppear
2018-03-13 10:05:02.254540+0800 unbalanced[40810:29306627] ViewController2 viewDidAppear
2018-03-13 10:05:02.254807+0800 unbalanced[40810:29306627] ViewController1 viewDidDisappear
2018-03-13 10:05:16.161571+0800 unbalanced[40810:29306627] ViewController2 viewWillDisappear
2018-03-13 10:05:16.161761+0800 unbalanced[40810:29306627] ViewController3 viewWillAppear
2018-03-13 10:05:16.663935+0800 unbalanced[40810:29306627] ViewController3 viewDidAppear
2018-03-13 10:05:16.664219+0800 unbalanced[40810:29306627] ViewController2 viewDidDisappear
2018-03-13 10:05:24.269678+0800 unbalanced[40810:29306627] ViewController3 viewWillDisappear
2018-03-13 10:05:24.269860+0800 unbalanced[40810:29306627] ViewController2 viewWillAppear
2018-03-13 10:05:24.771780+0800 unbalanced[40810:29306627] ViewController2 viewDidAppear
2018-03-13 10:05:24.772053+0800 unbalanced[40810:29306627] ViewController3 viewDidDisappear
2018-03-13 10:05:32.840803+0800 unbalanced[40810:29306627] ViewController2 viewWillDisappear
2018-03-13 10:05:33.342605+0800 unbalanced[40810:29306627] Unbalanced calls to begin/end appearance transitions for <ViewController1: 0x7f9c5970afc0>.
2018-03-13 10:05:33.342811+0800 unbalanced[40810:29306627] ViewController1 viewDidAppear
2018-03-13 10:05:33.342927+0800 unbalanced[40810:29306627] ViewController2 viewDidDisappear

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.