Code Monkey home page Code Monkey logo

Comments (7)

musa-almatri avatar musa-almatri commented on July 20, 2024 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.

musa-almatri avatar musa-almatri commented on July 20, 2024 2

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.

Fawxy avatar Fawxy commented on July 20, 2024 1

@musa-almatri thanks for posting a workaround. I will try to get the view to obey the semantic at some point

from cbpinentryview.

musa-almatri avatar musa-almatri commented on July 20, 2024 1

@zaidqattan you are welcome.
By the way, you have a typo in the text "بلحركات" 🙈

from cbpinentryview.

zaidqattan avatar zaidqattan commented on July 20, 2024

@Fawxy plz help

from cbpinentryview.

zaidqattan avatar zaidqattan commented on July 20, 2024

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 }

I tried to force all subviews as you said and I put it in the viewdidload() but it still the same issue

photo_2019-09-06 12 03 06

@musa-almatri Thanks for your help!

from cbpinentryview.

zaidqattan avatar zaidqattan commented on July 20, 2024

@musa-almatri Fixed! Thank you so much

from cbpinentryview.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.