Skip to content

Commit 0a6a19b

Browse files
Kids mode update — iOS
1 parent 1f0071e commit 0a6a19b

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/content/docs/version-3.0/kids-mode.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,18 @@ In Xcode, go to **File** -> **Add Package Dependency...**. Note that the steps t
4040
2. Select the version (latest stable version is recommended) and click **Add Package**.
4141
3. In the **Choose Package Products** window, select the modules you need:
4242
- **Adapty_KidsMode** (core module)
43-
- **AdaptyUI** (optional - only if you plan to use Paywall Builder)
43+
- **AdaptyUI_KidsMode** (optional - only if you plan to use Paywall Builder)
4444

4545
You won't need any other packages.
4646
4. Click **Add Package** to complete the installation.
47+
48+
5. In your code, write `import Adapty_KidsMode` instead of `import Adapty`, and `import AdaptyUI_KidsMode` instead of `import AdaptyUI`:
49+
50+
```swift
51+
import Adapty_KidsMode
52+
import AdaptyUI_KidsMode
53+
```
54+
4755
</TabItem>
4856
<TabItem value="cocoapods" label="CocoaPods">
4957
1. Update your Podfile:

0 commit comments

Comments
 (0)