i have been told to
Implement Delegate Callbacks. In your header file, implement the callbacks, MFMessageComposeViewControllerDelegate and UINavigationControllerDelegate.
how would i do this ?
Thanks
Mason
i have been told to
Implement Delegate Callbacks. In your header file, implement the callbacks, MFMessageComposeViewControllerDelegate and UINavigationControllerDelegate.
how would i do this ?
Thanks
Mason
In your .h
file, conform your class to those delegate protocols by adding <
, your protocols that you want to conform to (comma-separated), and then a closing >
.
Example:
@interface MyClass<MFMessageComposeViewControllerDelegate, UINavigationControllerDelegate>
,,,
@end
You need to then implement the required methods in the protocols in your .m
file.
Take a look at the required methods of these protocols in their respective documentation: