ui tag

177 questions


1 answers
406 views
0
I want to change the background color of the cell.

struct ContentView:View { @State var color=false varbody:someView { List {…}.listBackground (color?.white:.black) Toggle (text, isOn:$color) }}does not change the color.I wonder if the writing meth...

1 years ago

1 answers
374 views
0
Changing the Color of Cells

List{Text (Text).listRowBackground (Color.black)}in The color does not change.

1 years ago

1 answers
458 views
0
How do I type in pyautgui on macOS?

How to enter and was successful.Even if I let him type on the keyboard that I always type, another character was typed and it didn't work, so I looked it up many times on the Internet, but I couldn't ...

1 years ago

1 answers
299 views
0
Please let me know how to change the image.

I am currently learning front-end technology.Could someone tell me how to change the image of the code below?Thank you for your cooperation.console.clear();const canvas= document.getElementById(hero-l...

1 years ago

1 answers
516 views
0
No exact matches in call to instance method 'append'

In swiftuiWhen I try to append from another screen to another screenNo exact matches in call to instance method 'append' and Value of type 'TextEditor' has no member 'text' The alert appears.Can't I u...

1 years ago

1 answers
438 views
0
ToolbarItem bottomBar

In swiftuiIn ToolbarItemIf you want to set it to the bottom right, ToolbarItem(placement:.bottomBar)If so, It does not appear.What should I do?

1 years ago

1 answers
430 views
0
swiftui alert type 'CGFloat' has no member 'main'

In swiftuiTextEditor(text:$text).frame (width:.main.bounds.width*0.8, height:200)If so, Type 'CGFloat' has no member 'main' The alert appears.Before that, I had UISscreen.I also got an alert with UIKi...

1 years ago

1 answers
392 views
0
swiftui alert 'navigationBarLeading' is unavailable in macOS

When I try to add a bar item in swiftui, I get the following alert: 'navigationBarLeading' is unavailable in macOSI thought it was an update, but it didn't go away.Is the bar item marked differently?

1 years ago

1 answers
288 views
0
I want to use HSTack to get the width value to the image on UISscreen.

I would like to use HSTack to determine the width value on the UISscreen up to Image(test) and get the value. What should I do?struct ContentView:View {    varbody:someView {        HSTack {          ...

1 years ago

1 answers
334 views
0
I want to select SymbolRenderingMode in ForEach in SwiftUI, but I get a runtime error (Thread1: EXC_BAD_ACCESS).

.symbolRenderingMode(SymbolRenderingMode) is an option for viewing SF Symbols in SwiftUI's Image, but I want Picker and ForEach to display all options so that the UI can select them, but I implement t...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.