All Questions
531
questions
-1
votes
0
answers
19
views
Widget Text with DateStyle.relative - how to stop the countdown when time is up in live activity and dynamicisland?
I created a SwiftUI Widget with Text(_ : Date, style: DateStyle) using DateStyle.relative, and set a future date.
It works well as expected, but when the future date is coming and passed, the text ...
-1
votes
1
answer
89
views
How are line breaks determined by the Text view in SwiftUI and can I manipulate this behaviour?
Im interested in knowing how Text decides where to put line breaks for text that can't fit in a single line. Take for example this:
This simply wraps text to the next line. Now notice what happens ...
0
votes
2
answers
127
views
How to add rounded borders that cling to a Text in SwiftUI
I want to create something like this:
The background/highlight effect is a rounded rectangle with .regularMaterial and .stroke(.black).
I have tried using AttributedString and setting the ....
0
votes
0
answers
10
views
Can you use CreateML to extract text from a text blob?
I've been using CreateML to build a model via text classification. It needs to read in a blob of text, and extract a name from that text blob. (The blob is from an OCR result from an iPhone) The text ...
1
vote
0
answers
169
views
How to force multiline in ConfirmationDialog item in SwiftUI
I have a confirmation dialog with one entry being a bit too long to be display in a single line, so it gets cut in the middle:
Nothing that I've tried has worked, I'm a bit out of ideas here.
Though ...
0
votes
0
answers
15
views
Text input covered by IOS keyboard React
In IOS simple html text input hovered by IOS keyboard when focused
Screenshot
I have simple input:
<input
ref={inputRef}
type="text"
value={answer}
...
0
votes
1
answer
80
views
(Vue) How to solve text broken problem in iPad device
This problem is occured in specific device(IPad Pro 6 Gen), in certain situation (Occured on first run the App)
The original text is Korean, and error occured like picture above.
In flutter, there are ...
0
votes
0
answers
22
views
IOS, in the <input> type=text, text doesn't show full text and also cursor disappears
In the input type text, there are issue about display.
enter image description here
When I entered long text and then reached the end of input area(input field exceeds), it doesn't show rest of text ...
0
votes
1
answer
66
views
SwiftUI Rolling Text Animation Freezes with Rapid User Input
I'm working on a counter app in SwiftUI where I have implemented a rolling text animation for the numbers. The animation works fine when the number is incremented one at a time. However, when the user ...
0
votes
0
answers
365
views
UILabel vertical text alignment to match Figma design
I have previously solved the challenge of creating a pixel perfect representation of a Figma design, but aligning text proved surprisingly difficult. I ended up with a solution that worked, but I was ...
0
votes
1
answer
114
views
Flutter getting the dimensions of a string as text
I have a text widget and I want to place a container which covers the whole word in that text. To achieve that I found a code that gives the dimensions of a string for the specified text style. Using ...
0
votes
1
answer
261
views
iOS Safari renders specific font not correctly
I need to use the font Machauer on my project. On desktop (Chrome/Safari) it renders correctly but not on iOS (iPhone/iPad).
Strangely on the download page of the font the same problem is happening - ...
0
votes
1
answer
98
views
How to solve the scaling issue in flutter
I have a screen where Im using flutter_screenutil package. When page opens Text value scales per a second. How to solve this problem. I also tried layoutbuilder but doesnt help.
Scaffold(
key: ...
0
votes
0
answers
23
views
Implementing Word Selection and Interaction in React Native for Large Text Inputs
I am working on a React Native project where I have a text input that spans over a few hundred pages. My goal is to allow users to interact with individual words by double-tapping on them. When a word ...
0
votes
1
answer
404
views
Can you embed an .ics file contents and link to it in html, ideally without using javascript?
The text for an .ics file is rudimentary:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//appsheet.com//appsheet 1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
SUMMARY:Invitation from <<USEREMAIL()...