小编Sal*_*ini的帖子

在 SwiftUI 中的某些视图周围环绕文本

我放弃。我想让文本环绕某个视图,但我找不到任何方法来做到这一点。

\n

在此输入图像描述

\n

示例代码:

\n
struct ListView: View {\n    // actual text from @ObservedObject \n    var exText = "The statue of Laoco\xc3\xb6n and His Sons, also called the Laoco\xc3\xb6n Group (Italian: Gruppo del Laocoonte), has been one of the most famous ancient sculptures ever since it was excavated in Rome in 1506 and placed on public display in the Vatican,[2] where it remains. It is very likely the same statue praised in the highest terms by the main Roman writer …
Run Code Online (Sandbox Code Playgroud)

ios swift swiftui

8
推荐指数
1
解决办法
2674
查看次数

标签 统计

ios ×1

swift ×1

swiftui ×1