0

I have a question about Fragment in Android, and SubView in iOS. On Android I use the Callback interface to send an action from Fragment to parent activity. How to call a method in superView from subView? OR is there in iOS a pattern similar to Fragment?

dda
  • 6,030
  • 2
  • 25
  • 34
Ramy Sabry
  • 378
  • 2
  • 9

1 Answers1

0

It looks like UIViewController is the answer. Check out these sources for some example code:

iOS equivalent to Android Fragments/Layouts

iOS version of Fragments

Community
  • 1
  • 1
BVB
  • 5,380
  • 8
  • 41
  • 62