Story Creation Page

This page provides media picking and camera for story creation.

The Camera Page component of Social Plus 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

Camera page
Capturing a photo with camera
Selecting an image from gallery

Videos

Camera page
Recording a video with camera
Selecting a video from gallery

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

camera_page/*/*

Page

You can customize theme

camera_page/*/close_button

Element

You can customize close_icon and background_color

For more details on customization, please refer to the 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, and then embed it within a SwiftUI hosting controller for presentation.

Story Creation Page will navigate to other pages based on user's actions, you can override the behavior to navigate to your own pages.

For more details, please refer to the Overriding Navigation Behavior page.

Last updated

Was this helpful?