nealyoung / nyalertviewcontroller Goto Github PK
View Code? Open in Web Editor NEWHighly configurable iOS Alert Views with custom content views
License: MIT License
Highly configurable iOS Alert Views with custom content views
License: MIT License
i want to customise my VC transition
the VC be presented should not take the whole screen,
i can see some part of the previous VC’s view through the presenting VC’s view
Dependency "NYAlertViewController" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/nealyoung/NYAlertViewController/issues/new
I tried updating to version 2.0.0 but Pod version is not available.
Can you please let me know if its still not released to Cocoapods.
And how can I use this library
Thanks
on iOS 7.1 it's a mess
Please add attributedMessage
property
In some cases the touch is getting passed to the presenting viewController. the UI for the Alert becomes disabled and all interactions are passed to the the Presenting view controller in the background.
Not abe to understand why this is happening. Any Clues ?
Hi
I can't get the sender (UIButton) from NYAlertActon. I think It could be possible if you put @property (weak, nonatomic) UIButton *actionButton;
inside NYAlertViewController.h
First of all thanks for this masterpiece! It's by far the best i have ever seen. The only thing it's missing is the option to set the borderColor of the buttons in case you don't want to fill the button with the color. Is it easy to expose this property?
[!] Unable to satisfy the following requirements:
NYAlertViewController
required by Podfile
NYAlertViewController
required by Podfile
NYAlertViewController
required by Podfile
Please support for hiding status bar
Hi,
I have downloaded NYAlertViewController and able to run demo app with out any issue. I want to add UITableView as alertViewContentView, so can you please let me know is it possible?
Thanks,
Venkat.
The 'NYAlertViewController' did't release when it dismissed. (not invoke dealloc nethod).
When the message is long,and there is a UITextField under it, the UITextField is covered by the keyboard. Is there a way to shift the UITextField to uncover it?
Is it possible to add a webView custom view? Doesn't seem to work.
It`s really nice project. but I run this demo use iOS7+ environment, it cause AutoLayout issue. please check it out.
Hi, will there be an update to Swift 3.0
Hi guys,
I use NYAlertViewController through cocoa pods.
I can't get the contentView to work...
My code:
alertViewController.alertViewContentView = contentView
Could you please help me?
ultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x14d9eeb0 V:|-(NSSpace(20))-[UILabel:0x14e71890] (Names: '|':UIView:0x14e717b0 )>",
"<NSLayoutConstraint:0x14d69fc0 V:[UILabel:0x14e71890]-(2)-[NYAlertTextView:0x15b68200]>",
"<NSLayoutConstraint:0x14d3e400 V:[NYAlertTextView:0x15b68200]-(0)-[UIView:0x14e7d1a0]>",
"<NSLayoutConstraint:0x14d78910 V:[UIView:0x14e7d1a0]-(0)-[UIView:0x14e71560]>",
"<NSLayoutConstraint:0x14db66b0 V:[UIView:0x14e71560]-(0)-[UIView:0x14e6fb90]>",
"<NSLayoutConstraint:0x14d72630 V:[UIView:0x14e6fb90]-(NSSpace(20))-| (Names: '|':UIView:0x14e717b0 )>",
"<NSLayoutConstraint:0x14e6fac0 UIView:0x14e717b0.height <= 0.9*NYAlertView:0x14e714a0.height>",
"<NSAutoresizingMaskLayoutConstraint:0x14dccaa0 h=--& v=--& V:[NYAlertView:0x14e714a0(0)]>"
)
Since we already have the ability to determine whether the status bar is shown or not, I think it makes sense to also expose the statusbar style through the API.
You would just have one more property statusBarStyle
that the client can set before presenting the view controller. This value would be returned in preferredStatusBarStyle
. I would also default the statusBarStyle
to .LightContent since the dark background has better contrast for a white font.
Supporting UI_APPEARANCE would be great.
Hi,
Can someone tell me how to set text alignment on this control. I found it on line# 251 and line# 262 inn NYAlertView.m
but want to do it from my ViewController
because on some ViewControllers I want Left text alignment and in some ViewController
I want center.
[UIApplication sharedApplication]
is used.
Hi, I read your demo, and still don't know how to add custom view.
Do I have to use Auto Layout?
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.