0

I am trying to count the segue attached in UIVIewController on the storyboard

Reimond Hill
  • 4,278
  • 40
  • 52
  • You can count the segues in a `UITableViewController`, that's what you are saying? I wouldn't recommend it, but: https://stackoverflow.com/questions/9626469/how-to-check-if-a-view-controller-can-perform-a-segue ? – Larme Jan 24 '18 at 14:34

1 Answers1

1

Short answer is no. There is no way to programmatically know how many segues are coming from a view controller without manually adding it yourself.

The UITabViewController does not actually have segues. Rather, it is assigned an array of ViewControllers that it owns and can easily count.

Alexander Li
  • 781
  • 4
  • 12