Code Monkey home page Code Monkey logo

Comments (9)

CooperRS avatar CooperRS commented on July 21, 2024

Works for me in simulator and on a real device. Which system language/locale are you using? (As I only tested with german and us locale)

from rmdateselectionviewcontroller.

avgx avatar avgx commented on July 21, 2024

in simulator.
en
If found that the issue is due to

        if([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0 && UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation)) {
            aDateSelectionViewController.window.frame = CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.height, [[UIScreen mainScreen] bounds].size.width);
        }

in

+ (void)showDateSelectionViewController:(RMDateSelectionViewController *)aDateSelectionViewController animated:(BOOL)animated

And I'm prepareing PR, but i haven't solved all cases where i need to put

[aDateSelectionViewController.datePicker layoutIfNeeded];

from rmdateselectionviewcontroller.

CooperRS avatar CooperRS commented on July 21, 2024

OK, then I'm waiting for your PR :)

from rmdateselectionviewcontroller.

avgx avatar avgx commented on July 21, 2024

Can't get the things working :(
Reproduced with real device iphone5s

  1. Start demo
  2. rotate UIInterfaceOrientationLandscapeRight
  3. press "show date..."
  4. the minutes are unavailable to scroll
  5. if then rotate to portrait - can't press select button
    It seems like touch area is only on original place (where no transform)
    If I press "show date..." in portrait orientation - all is perfect for all rotations.

from rmdateselectionviewcontroller.

CooperRS avatar CooperRS commented on July 21, 2024

Hmm, I could not find a solution for myself as I could not find the reason why the touch area is broken. But I'll keep working...

from rmdateselectionviewcontroller.

avgx avatar avgx commented on July 21, 2024

I've found the working code in https://github.com/Busta117/SBPickerSelector but I can't integrate it here, not enouph experience in ios yet.

from rmdateselectionviewcontroller.

CooperRS avatar CooperRS commented on July 21, 2024

Acutally this bug should be fixed by using custom transitions instead of UIWindows. I would appreciate if you could take a look at the branch AppExtensions and try to reproduce this bug with this branch :)

from rmdateselectionviewcontroller.

CooperRS avatar CooperRS commented on July 21, 2024

You may now also try the pod version 1.5.0 ;)

from rmdateselectionviewcontroller.

CooperRS avatar CooperRS commented on July 21, 2024

Closing due to missing response.

from rmdateselectionviewcontroller.

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.