Giter Site home page Giter Site logo

circulartransition's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

circulartransition's Issues

View controller after transition is fitting its contraints to size class instead of device

Hello, Brian.

First of all, thanks for your tutorial. It was really helpful. I'm using this transition in a real project where I work, but I'm facing a problem with this transition. A problem that I can't quite understand why it is happening. Perhaps you could help me out.

What's happening is the following: I'm making a tutorial for my app using this transition. In the view controller where I set the text for the tutorial, I set constraints for top, bottom, leading and trailing to 0. Thus, it should fit the view controller to the edges, right? But it only happens when I have chosen in size class the same device that I am using in the simulator. For instance, I must run an iPhone 7 plus simulator AND set the size classe to iPhone 7 plus in order to work properly. When I run the simulator of iPhone 7 without having changed anything in interface builder, It crashes. I realized that the view controller is not fitting to the edges of the device (simulated or physical), it's fitting to the edges of the size class. I realized that when I comment the lines with ".transitioningDelegate = self and .modalPresentationStyle = .custom" it works as it should. I thought it could be a problem with this transition. Can you help me out?

I don't know if it has something related to the error, but I'm using xib instead of Storyboard.

Thanks in advance, Brian!

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.