nhdang103 / hdnotificationview Goto Github PK
View Code? Open in Web Editor NEWEmulates the native Remote Notification View.
License: MIT License
Emulates the native Remote Notification View.
License: MIT License
Migrate to handle everything with AutoLayout
First, sorry to my poor English.
I found unintented bug by UIDeviceOrientationDidChangeNotification.
Code is received message by iOS at App state switching Foreground & Background.
so, code calls [self setUI] and creates Tap gesture and adds view overlap.
finally, when view has tap gesture, view calls onTouch function repeatedly.
My app use libs MZFormSheetController(https://github.com/m1entus/MZFormSheetController)
when notification appear after MZFormSheetController opened
MZFormSheetController will hide after HDNotificationView has show
and when HDNotificationView hide MZFormSheetController will show again
Hey, is there any way where i can change background color of HDNotificationView.
It's possible to display 3 notification whitout replace the other's?
It would be very useful if you added a feature to add buttons to the Notification also possible able to change the duration for how long the bar is visible for.
Not hide the notification view on swipe gesture like system notification
I want to install it throw cocoa pod, can you support pod please.
Thanks
event ontouch always tap just one time , tap more don't callback event ontouch , pls review again.
It is a feature request. Can you add the drag feature effect as iOS notifications do to cancel the notification.
Prior iOS8 UIScreen instances doesn't rotate, that means that in iOS7 your HDNotificationViews in landscape they appear only at the upper top corner as they were in Portrait. To handle that you need to apply transformations according to device rotation changes.
From apple doc of UIScreen:
Prior to iOS 8, a screen’s bounds rectangle always reflected the screen dimensions relative to a portrait-up orientation. Rotating the device to a landscape or upside-down orientation did not change the bounds. In iOS 8 and later, a screen’s bounds property takes the interface orientation of the screen into account. This behavior means that the bounds for a device in a portrait orientation may not be the same as the bounds for the device in a landscape orientation. Apps that rely on the screen dimensions can use the object in the fixedCoordinateSpace property as a fixed point of reference for any calculations they must make.
To use this as a static library wherever.
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.