Skip to content

UIView controller representable issue #1

Open
@ikarthikn

Description

Short description of the issue:

i am using first view controller with InterfaceViewController() in swiftUI view, and i navigate nested view from that view controller, whenever my swiftUI view render, it pop back to first view controller

Expected outcome:

I stay with my current view controller whenever my view render

What actually happens:

it pop back to first view controller whenever my swiftUI view render

Self contained code example that reproduces the issue:

`InterfaceViewController(getViewController())`
  
// If we can't get a self contained code example that reproduces the issue, there is a big chance we won't be able
// to help you because there is not much we can do.
//
// `Self contained code example` means:
//
// * that we should be able to just run the provided code without changing it.
// * that it will reproduce the issue upon running

InterfaceKit version/commit

5.4.0

Platform/Environment

  • iOS

How easy is to reproduce? (chances of successful reproduce after running the self contained code)

  • easy, 100% repro

Xcode version:

14.2

⚠️ Fields below are optional for general issues or in case those questions aren't related to your issue, but filling them out will increase the chances of getting your issue resolved. ⚠️

Installation method:

  • Git submodules (SPM)

I have multiple versions of Xcode installed:
(so we can know if this is a potential cause of your issue)

  • no

Level of Swift knowledge:
(this is so we can understand your level of knowledge
and formulate the response in an appropriate manner)

  • I have a significant code base

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions