Comments (7)
I had the same issue
@zaidqattan A current workaround is to force all the subviews of the CBPinEntryView to use leftToRight semantics
pinEntryView.subviews.forEach { $0.semanticContentAttribute = .forceLeftToRight }
from cbpinentryview.
I just tried it with the example app and it is working fine.
Try to clean the project and run it again.
or try to put the previous code in viewWillLayoutSubviews
.
make sure you are forcing the subviews of pinEntryView not a parent view.
if it didn't work. could you show some code .
from cbpinentryview.
@musa-almatri thanks for posting a workaround. I will try to get the view to obey the semantic at some point
from cbpinentryview.
@zaidqattan you are welcome.
By the way, you have a typo in the text "بلحركات" 🙈
from cbpinentryview.
@Fawxy plz help
from cbpinentryview.
I had the same issue
@zaidqattan A current workaround is to force all the subviews of the CBPinEntryView to use leftToRight semanticspinEntryView.subviews.forEach { $0.semanticContentAttribute = .forceLeftToRight }
I tried to force all subviews as you said and I put it in the viewdidload() but it still the same issue
@musa-almatri Thanks for your help!
from cbpinentryview.
@musa-almatri Fixed! Thank you so much
from cbpinentryview.
Related Issues (16)
- Unable to set text content type to support autofill HOT 3
- Field background color not changing on entering pin HOT 3
- Automatically submit on editing finished. HOT 1
- length and spacing not changing when being set programmatically HOT 3
- Swift 5 support w/ Cocoapods HOT 2
- How to set the text Value to the CBPinEnteryView? HOT 5
- Placeholder support
- SetPin option to pre-fill Code HOT 1
- How to add inputAccessoryView
- Copy/Paste dialog HOT 1
- Not support Swift Package Manager
- Enable Text Cursor
- KeyBoard Type issue
- Can you make secure text entry and become first responder of view load HOT 1
- How do I clear text? HOT 1
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 cbpinentryview.