Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blur effect not working in ios 11? #44

Closed
fukemy opened this issue Mar 30, 2018 · 9 comments
Closed

blur effect not working in ios 11? #44

fukemy opened this issue Mar 30, 2018 · 9 comments

Comments

@fukemy
Copy link

fukemy commented Mar 30, 2018

Hello. After long time i write new project that need to include some notification view, then I used your library, thanks for great code.

After run app in ios 11. I see the blur effect not working as expect. Plz see my attack picture to see my problem.
This image is captured from simulator. Then below is my setting
"warning": {
"backgroundColor": "#FFCC00",
"backgroundColorAlpha": 0.3,
"titleTextColor": "#484638",
"titleFontSize": 14,
"subTitleFontSize": 12,
"subTitleTextColor": "#484638",
"iconImage": "NotificationBackgroundWarningIcon.png",
"blurBackground": 1
},
simulator screen shot - iphone 5s - 2018-03-30 at 22 30 38

@isadon
Copy link
Owner

isadon commented Mar 30, 2018

Can you try a different background color like red to test and see if the blurring is working?

@fukemy
Copy link
Author

fukemy commented Mar 31, 2018

Hi. Here is image with red color
simulator screen shot - iphone 5s - 2018-03-31 at 11 04 19
Here is my config:
"warning": {
"backgroundColor": "#FF0000",
"backgroundColorAlpha": 0.9,
"titleTextColor": "#484638",
"titleFontSize": 14,
"subTitleFontSize": 12,
"subTitleTextColor": "#484638",
"iconImage": "NotificationBackgroundWarningIcon.png",
"blurBackground": 1
}

@isadon
Copy link
Owner

isadon commented Apr 1, 2018

Hmm.. Its actually working fine for me in the simulator at least with iOS 11.3. Are you sure you are running iOS 11? Can you verify your deployment target and runtime of the simulator is greater than or equal to iOS 8? If possible can you send me a sample Xcode Project so that I can test the functionality?

@isadon
Copy link
Owner

isadon commented Apr 6, 2018

Any update on this? Since I can't reproduce the problem can you answer the following:

What is your XCode deployment target?
Does the issue occur on Device or Simulator?
What version of iOS is running on the device or simulator?

@fukemy
Copy link
Author

fukemy commented Apr 7, 2018

Hello. I am stucking at other problem. So can read your post. I update 2 image about this problem
First: alpha 0.6 blur 1
Second : alpha 1 blur 1
"warning": {
"backgroundColor": "#FFCC00",
"backgroundColorAlpha": 1,
"titleTextColor": "#484638",
"titleFontSize": 14,
"subTitleFontSize": 12,
"subTitleTextColor": "#484638",
"iconImage": "NotificationBackgroundWarningIcon.png",
"blurBackground": 1
},

Then nothing difference. Plz see my attack pictures. Tested on Iphone 5s IOS 11.2.2,XCode Version 9.2 (9C40b)
alpha 0 6 blur true
alpha 1 blue true

@isadon
Copy link
Owner

isadon commented Apr 8, 2018

Unfortunately I can't reproduce. I tested on a iPhone 8 Plus and the simulator.

@fukemy
Copy link
Author

fukemy commented Apr 9, 2018

my solution is got notification and show notification based on self.window.rootView. Im trying to get rootViewController of stack and test

@isadon
Copy link
Owner

isadon commented Apr 9, 2018

Can you send me an example project containing the problem?

@fukemy
Copy link
Author

fukemy commented Apr 9, 2018

Hi. After I changed to show Rmessage i topViewController like presented Viewcontroller. It working, show in self.window.rootView not working. It's my fault, sorry.

@isadon isadon closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants