jverdi / jvalertcontroller Goto Github PK
View Code? Open in Web Editor NEWJVAlertController is an API-compatible backport of UIAlertController for iOS 7
License: MIT License
JVAlertController is an API-compatible backport of UIAlertController for iOS 7
License: MIT License
I found the ActionSheet cant tap dismiss, iOS7 and iOS8
This backport of UIAlertController really is a life-saver. At least it was to me! Many thanks for your great work!
Unfortunately I have to maintain a legacy app that still uses MRC instead of ARC. Until April 2015 the app still supported iOS4 for iPad1. iOS4 does not provide ARC.
So I need a version of this library to cope with MRC and tried to implement it properly but keeping the impact as low as possible. I had to reorganize some code, though, which made it a bit more complex.
Please review my changes. I would be grateful if you could include my patch for others with the same problem.
All iPad 1 are stuck with iOS 5. They'll never get an update to any newer iOS.
It would be great to have iOS 5 support with JVAlertController
and I am working on it.
In fact, I managed to run the code on iOS 5 and implement the look of the UIActionSheet
within a popover.
I'll prepare everything for a pull request.
Unfortunately my iPad 1 broke couple of weeks ago, so I have to rely on the iOS simulator, which I have to run on OSX 10.7 with Xcode4, because there is no iOS5 simulator available anymore on modern OS X or modern Xcode.
Because of the old simulator I have to compile with an old iOS SDK (<= 6) which lacks some protocols and classes involved. I managed to add everything that is needed to run JVAlertController
and store all these things inside a sub-directory "legacy-iOS-SDK".
Do you prefer to put changes necessary solely to compile with legacy iOS SDK in a separate branch? IMHO legacy iOS SDK support is vital to test for iPad 1 with iOS 5 simulator, so it would be nice to include it in the main branch. These back ported files will hardly change in the future.
UIActionSheet
displayed in a popover. This works from iOS 5 to iOS 8 with proper look!the backport of UIPopoverPresentationController does not implement a delegation mechanism.
I tried to implement it with the following pull request: see /pull/8
Have anyone managed to run this library in mixed Obj-C/Swift project? Even though I imported all headers from JVAlertController pod in Bridging-Header, app still crashes when I want to instantiate UIAlertController in Swift code on iOS7.
It works perfectly when I want to use it in Obj-C part of project.
If the ActionView is displayed as kind of "ActionSheet" replacement utilizing UIPopoverController, the "completion" block is not executed upon dismissal.
The bug lies within function "JVAC_DismissViewController" in file UIViewController+JVAlertController.h
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.