Sarath
Sarath

Reputation: 339

How to use storyboard reference segue when required storyboard is in Swift Package

Im using a swift package which has textfield xib, some storyboards as resources. My question here is I'm trying to present a viewController through segue which is in swift Package. In storyboard reference I have given the storyBoard name "Login" and given the Bundle as "Sample". while calling performSegue Im getting crash saying that Login storyboard not present in NSBundle. it automatically taking the NSBundle not the Sample_Sample.module. How to solve this?

Storyboard reference

Crash error

Upvotes: 1

Views: 175

Answers (0)

Related Questions