avielg / agpushnote Goto Github PK
View Code? Open in Web Editor NEWCustom view for easily displaying in-app push notification that feels like default iOS banners.
License: MIT License
Custom view for easily displaying in-app push notification that feels like default iOS banners.
License: MIT License
Hii avielg,
This class is not working in iOS 10. We can not able to show background color of notification.
How can I solve this issue for iOS 10. It is working for iOS 8 and 9.
Thanks,
Meet.
We have redesigned AGPushNote and added AGPushNote model class to carry additional info with messages. It has iphone 6 and iphone 6 plus support with bounce effect. Check out our edition https://github.com/yunuserenguzel/AGPushNote
AGPushNote
notifications should automatically hide (slide back up) after a couple of seconds, just like native iOS notifications.
Again, awesome project.
I made close button on push view of right side.
just ...that button for close push view
but did not work when click that button because super view navigation bar button is firstly.
so I was add code here
[APP.window addSubview:PUSH_VIEW]; // pre-written code
[APP.window bringSubviewToFront:PUSH_VIEW]; //additional code
but same issue occured.
I test this few times, I know that move other page view until did not close push view.
so... It solution maybe. push view bringFrontAlways.
but I dont know that how
finaly I found this!
when U have a agpushnote, If your app moved other viewController
then AGPushNote does not close
and solution here.
-(void) viewWillAppear:(BOOL)animated{ NSArray * subviews = [[[[UIApplication sharedApplication] delegate ] window] subviews]; subviews = [[[[UIApplication sharedApplication] delegate ] window] subviews]; for(UIView *view in subviews){ if([view isKindOfClass:[AGPushNoteView class]]){ [[[[UIApplication sharedApplication] delegate ] window] bringSubviewToFront:view]; } } }
Awesome library, are you planning to make it available on Cocoapods?
First of all, thanks for the great library!
I am currently using this library to build an iPad apps, and is in landscape orientation.
How can I display the push note on top of the screen rather than on the left hand side of the screen? ( Since this is correct if the apps is run on portrait mode)
Thanks for the help.
I have a view that the keyboard appears in. But when the PushNote appears on top, the keyboard disappears. It comes back when the PushNote disappears.
(BTW- this is a really nice project)
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.