Commit Graph

15 Commits

Author SHA1 Message Date
Alan Kenyon 4518b13efe working fallback view with background color 2020-04-08 09:22:56 -07:00
Sebastian Trebunak 325374548d Fix blur constants assigment 2020-01-18 10:26:11 +01:00
Sebastian Trebunak 491c9210a2 Update comment for ios version 2020-01-18 10:04:58 +01:00
Sebastian Trebunak 5487e0fdea Add iOS 13 blurs 2020-01-18 09:47:17 +01:00
Levi Buzolic d95c29d4bc Enable regular and prominent BlurEffectStyles for iOS 10.0+ (#276)
Previously `regular`, `prominent` and `extraDark` were only available on tvOS. iOS 10.0+ adds support for `regular` and `prominent` according to the [BlurEffect.Style docs](https://developer.apple.com/documentation/uikit/uiblureffect/style).

https://developer.apple.com/documentation/uikit/uiblureffect/style/regular
https://developer.apple.com/documentation/uikit/uiblureffect/style/prominent

`extraDark` Remains tvOS only.
2019-03-26 13:53:50 -04:00
Doron Pearl 10af4bac54 fix OS TV target check (#211) 2017-06-27 15:50:55 +02:00
Julien K e41c7dbcd5 [tvOS] Add new blur types and setNativeProps (#210)
* [BlurView] Add tvOS blurTypes

* [BlurView] Add setNativeProps to use it in touchablehightlight

* [BlurView] Add blurTypes of tvOS

* [README] Add tvOS blur types

* [VibrancyView] Add setNativeProps
2017-06-26 14:43:33 +02:00
Nathan Broadbent 10858e396b Fixed all the issues with iOS, and allow individual blurAmounts (instead of one shared value.)
Also changed VibrancyView to be a subclass of BlurView.
2017-04-17 22:23:10 +07:00
Eli Perkins 71b7e59a62 Refactor BlurView to use modern Objective-C syntax and paradigms
This moves to modern Objective-C practices.

Synthesized properties now use property declarations in a private
category.

UIVisualEffectViews will now only be created once, rather than on each
change of blurType.

BlurAmount uses a class property to track the currently set amount.
2017-04-10 11:19:29 -04:00
Timur Gibadullin 8e7ccb58ea Fix duplicate symbols error in xcode 2016-12-21 14:54:04 +03:00
KelseyRegan 6d47336921 makes blurview and vibrancyview cliptobounds
makes blurview and vibrancyview cliptobounds so they can have rounded
corners
2016-11-11 21:21:26 -08:00
Steven Lambion 9eba3f72ac Moved creation of _visualEffectView out of layoutSubviews 2016-11-07 10:38:17 -08:00
Karol Kozub b7f2913f4e Fix incorrectly assigning an NSNumber to blurEffect which resulted in a crash on -layoutSubviews 2016-11-02 13:01:22 +01:00
Jake Hasler fd1d7452fa New BlurAmount class, adjusted required propType 2016-10-27 01:19:43 -06:00
Kureev Alexey 66f35af8f3 Rebuild react-native-blur for RN-0.11.4 2015-10-05 22:42:23 +02:00