Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
How to display the current PDF page when reading a PDF file using the PDFKit on swift ? That small box on the top or bottom of the page displaying “ 1 of 20 “ for example.
You can get the current page like this:
let currentPageIndex = pdfDocument.index(for: pdfView.currentPage!)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
How do I make this bottom line in flutter? Like this
is this a draggable bottom sheet?
I've found a package for that:
https://pub.dev/packages/draggable_bottom_sheet
otherwise probably just a SizedBox with rounded borders
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
i wanna when keyboard is coming up flex the widgets out my problem is this
my loginpage
enter image description here
and my problem
enter image description here
You can use SingleChildScrollView to avoid this problem.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
How can I make a UITextField look like the number 4.5 in the following picture:
Simply change the textfield border style like so, this way, you will have invisible borders and just put the textfield in your cell:
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
When entering more than 2 characters, the text field is no longer centered, only after have finished typing will text become centered in the text field. How can I continuously make the text centered?
While typing in text field
After finished typing in text field
you need to set the text alignment to Center using StoryBoard:
This will make your text to be center forcefully:
You can also set in progrmmatically
textField.textAlignment = .center
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am using this library to add a TextField in Swift. I can see how to programmatically add it in code, but I want to know how to add it via the Xcode UI. I want to be able to position it in Storyboard.
I tried to edit this line
#IBOutlet weak var txtOlja: TextField!
but that had no effect.
You can only add it in Storyboard if the control was #IBDesignable.
Since this particular control can't be rendered in Interface Builder, your only option is to programmatically constrain it using Auto Layout.