Giter Site home page Giter Site logo

Comments (9)

skywinder avatar skywinder commented on July 18, 2024

I know.
I want to figure out something with this later.
Just put link to older issue in root repo: #111

from actionsheetpicker-3.0.

michaelnew avatar michaelnew commented on July 18, 2024

It looks like the problem is caused by adding a subview to a UIActionSheet. http://stackoverflow.com/questions/24330152/showing-a-uipickerview-with-uiactionsheet-in-ios8-not-working

from actionsheetpicker-3.0.

chrisballinger avatar chrisballinger commented on July 18, 2024

Ah I am experiencing this problem... any workarounds?

from actionsheetpicker-3.0.

chrisballinger avatar chrisballinger commented on July 18, 2024

Looks like subclassing UIActionSheet is fundamentally flawed:

UIActionSheet is not designed to be subclassed, nor should you add views to its hierarchy. If you need to present a sheet with more customization than provided by the UIActionSheet API, you can create your own and present it modally with presentViewController:animated:completion:.

Perhaps it's time for a rewrite...

from actionsheetpicker-3.0.

skywinder avatar skywinder commented on July 18, 2024

@mikenew12 thanks for the link.
Indeed. It seems that it will be a lot of refacktoring work..

from actionsheetpicker-3.0.

chrisballinger avatar chrisballinger commented on July 18, 2024

This is what I ended up doing: https://github.com/Burning-Man-Earth/iBurn-iOS/blob/master/iBurn/BRCStringPickerView.m

I don't like it as much :(

from actionsheetpicker-3.0.

skywinder avatar skywinder commented on July 18, 2024

Hooray, guys!
Here comes the sun!
I eliminate dummy UIActionSheet And now everything is works!
Please, update your versions to 1.0.15.
Besides, I change a little bit animation. Now background color fade smoothly. It looks better, IMO.
If someone want to perform old animation style - let me know - I will add special flag for it.

from actionsheetpicker-3.0.

chrisballinger avatar chrisballinger commented on July 18, 2024

@skywinder Awesome! Now if only I didn't spend an afternoon reimplementing my own version from scratch :)

from actionsheetpicker-3.0.

Jack-s avatar Jack-s commented on July 18, 2024

@skywinder I think your update breaks landscape mode...
I opened a new issue

from actionsheetpicker-3.0.

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.