Story Creation Page
This page provides media picking and camera for story creation
The Camera Page component of Amity UIKit 4.0 offers an immersive, easy-to-integrate solution for adding camera functionality to your app. It enables users to capture and share moments directly within stories, enhancing the storytelling experience within communities.
Photos
Videos
Features
Feature | Description |
Camera view | User can capture image or record video to create story |
Media picker | User can select media image or video to create story |
Customization
Config ID | Type | Description |
---|---|---|
| Page | You can customize |
| Element | You can customize |
For more details customization, please refer to Customization page.
Usage
For integrating the Story Creation Page into an iOS app, use the AmityCreateStoryPage
component. Here's a simple example of navigating to the story creation page, specifying a community ID and optionally an avatar image URL.
This code snippet demonstrates how to initialize the story creation component with a specific target community ID and user avatar, then embed it within a SwiftUI hosting controller for presentation.
Last updated