Coder Social home page Coder Social logo

adfliptransition's People

Contributors

dmauer avatar knatanzon avatar pedroscocco avatar

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  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  avatar

adfliptransition's Issues

Only Works Properly In Landscape - iOS 7 Compatibility Issues

I'm running iOS 7 on iPhone 5, for some reason when I select a cell or press a button to flip it works perfectly in landscape mode however in portrait the flipped view is presented as it would be in landscape mode and is too far to the right, it is also the width of the view in landscape and the height of the view in landscape.

if the statusbarstyle is not blackopaque child view is not centered.

hi,

if the statusbarstyle is set to Default, and hit the Flip as Child button,
then rotate the device, it doesn't centered in landscape mode.

it misses finding the right frame in this method:

  • (CGRect)fullScreenRect {
    UIWindow *window = [[UIApplication sharedApplication] keyWindow];

    CGRect rect = [window frame];
    if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0f) {
    rect = [self switchRectOrientation:rect];
    } else if ([[UIApplication sharedApplication] statusBarStyle] == UIStatusBarStyleBlackOpaque) {
    CGFloat height = UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])?[[UIApplication sharedApplication] statusBarFrame].size.height:[[UIApplication sharedApplication] statusBarFrame].size.width;

    if (UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation])) {
        rect = [self switchRectOrientation:rect];
    }
    
    rect.origin.y += height;
    rect.size.height -= height;
    

    }

    return rect;
    }

Issues in Landscape mode

In my app under iOS 7 the flip transition doesn't seem to take up the whole screen, then once the transition is done it jumps and fills the whole screen bu the table view is stuck on the left although it resizes correctly when I manually rotate afterwards.

http://imgur.com/ZDJhmJe

Navigation bar not customized in transition

Hi, thanks for the amazing code!

Trying to integrate into my project,
and if there is navigation bar, it shows in transition without theme ( I use UIAppearance).
Is it possible to do something with it?
P.S. I attached pics for better understanding.
ios simulator screen shot sep 4 2013 8 47 50 pm
ios simulator screen shot sep 4 2013 8 47 57 pm

it doesnt fill the whole screen

hi,
there is a bug in your sample in the first tab.
first rotate the ipad to landscape, then hit the Flip as Child buttton.
it doesn't fill the whole screen. there is a gap on the right (256px).

  • when the ipad rotates the child view is not centered in landscape mode.

thanks...

it doesn't run in iOS 5.0 and 5.1

hi,
requirements say iOS5.0 or above.
i tried your example in iOS5.0 and 5.1. it gives an error

dyld: Symbol not found: OBJC_METACLASS$_UICollectionViewController

thanks.

Flipped UIViewController not getting released?

I am flipping a UIViewController from another UIViewController, once a button is pressed, like this:

SomeViewController* someViewController = [[SomeViewController alloc] init];

[self flipToViewController: someViewController fromView:_myButton asChildWithSize:CGRectInset(self.view.frame, 50, 50).size withCompletion:^{
}];

In my flipped UIViewController I have a button which triggers the following method:

[self dismissFlipWithCompletion:NULL];

Just like in the example. The thing is, my UIViewController is observing an object and on dealloc I remove the observers. But my UIViewController is never released.

If I exchange the flip transition for a 'normal' addSubview action. The view is nicely released once I removeFromSuperView the view of the UIViewController.

SomeViewController* someViewController = [[SomeViewController alloc] init];
[self.views addSubView:someViewController.view];

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.