TGViewer
ErrorNil. iOS-разработка ErrorNil. iOS-разработка @error_nil · 688 subscribers
Post #520 462
💻 Код, который позволит вам добавить на UIViewController вьюху из SwiftUI


let content = UIHostingController(rootView: /*SwiftUIView*/ )
addChild(content)
content.view.frame = view.frame
view.addSubview(content.view)
content.didMove(toParent: self)
  • 👍 5
  • 💯 3
More from @error_nil
  1. Oct 9, 2026video post
  2. Oct 9, 2026К слову о том, что происходит
  3. Oct 9, 2026🫠
  4. Oct 7, 2026В общем, никто не просил, но я сделал — добавил мессенджер в своё приложение «Живой?». Ран…
  5. Oct 6, 2026Apple серьезно так поднапряглась с выходом нового айфона
  6. Oct 1, 2026А почему бы и нет? Я тут подумал, что такой формат решает проблему (не то что бы это прям…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →