Comments (9)
I'm glad it works!
but it was cool and useful when we could set color of background into the xib, and not in the attribute.
In that case, one has to handle the round-corners himself by clipping to bounds and mnipulating the layer and not count on SwiftEntryKit to do so.
I consider it resolved.
from swiftentrykit.
Hi @Banck,
Can you fill the whole template (iOS version, Xcode, etc...)?
I tried to reproduce without a success.
from swiftentrykit.
In any case, please update to 0.5.1. There is a bug in the rollback window logic in 0.5.0.
from swiftentrykit.
The same issue with 0.5.1.
I haven't changed anything. The previous version was 0.4.2
from swiftentrykit.
Here is a xib example
Архив.zip
Call:
let alertView = TwoButtonsAlertView(title: title, subTitle: subTitle, cancelButtonTitle: cancelButtonTitle, okButtonTitle: okButtonTitle) alertView.cancelButtonDidTap = { SwiftEntryKit.dismiss(with: canceledAction) } alertView.okButtonDidTap = { SwiftEntryKit.dismiss(with: okAction) } SwiftEntryKit.display(entry: alertView, using: placeAlertAttributes(canBeClosed: canBeClosed))
from swiftentrykit.
In order to resolve this, you need to set the background-color via attributes.entryBackground
.
Clear the view's backgroundColor in your xib and do instead:
attributes.entryBackground = .color(color: .white)
Let me know if that helps.
from swiftentrykit.
When I really think about it, It was supposed to be like this from the beginning.
Developers shouldn't be able to customize entries halfway - You can stick to the example project presets which haven't changed by version 0.5.x and work just fine. :-)
from swiftentrykit.
@huri000 Hello!
Yes, if I do
attributes.entryBackground = .color(color: .white)
and set clear color of my background view in the xib it works fine! Thanks.
from swiftentrykit.
but it was cool and useful when we could set color of background into the xib, and not in the attribute.
from swiftentrykit.
Related Issues (20)
- Xcode 13 error: 'shared' is unavailable in application extensions for iOS HOT 3
- crash HOT 1
- Button width
- iOS13 iOS14 devices crash somtimes v1.2.7
- Question: is there an option to make the image as trailing instead leading? HOT 2
- Is this library still maintained? HOT 3
- StatusBar Style is overwritten by SwiftEntryKit after the alert is dismissed. HOT 1
- Swipe down call back for bottomFloat sheet
- On dismissal of view need a method [Not completion handler] HOT 1
- EKWindowProvider.displayRollbackWindow() + 157 Crash
- Xcode 14 warning: IPHONEOS_DEPLOYMENT_TARGET
- Orientation issues - Autorotation not disabled in iOS 16 HOT 1
- EKWindow does not appear on the screen in version iOS 13 or later HOT 1
- Is there anything else besides these?
- Is there's a way to make popup with UITableView swipe to dismiss? HOT 2
- Sometimes a blank background appears during screen mirroring from iPad to MacBook Pro
- Privacy Manifest
- Popup background color
- Avoid async main queue again when showing a popup
- EKWindow not visible on screen when it is behind UITextEffectWindow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftentrykit.