From 3ce66ffdcc6972d577371d9b3c996f2ff7c9a6b4 Mon Sep 17 00:00:00 2001 From: James Armstead Date: Fri, 5 May 2023 20:40:44 -0500 Subject: [PATCH] adding header for UITextFieldDelegate --- docs/sdks/mobile/ios/index.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sdks/mobile/ios/index.mdx b/docs/sdks/mobile/ios/index.mdx index def80be0..b0f2735b 100644 --- a/docs/sdks/mobile/ios/index.mdx +++ b/docs/sdks/mobile/ios/index.mdx @@ -52,6 +52,8 @@ Below is an example of a UITextField set as `TextElementUITextField`. ![](/img/iOS/ios-initialization.jpg) +## UITextFieldDelegate + If you want to use methods available from [UITextFieldDelegate](https://developer.apple.com/documentation/uikit/uitextfielddelegate) you'll need to have your [UIViewController](https://developer.apple.com/documentation/uikit/uiviewcontroller) inherit from the `BasisTheoryUIViewController` class. It should look something like this: