Amity Docs
About Us
Developer Portal
Archived Docs
Search…
Announcements
Getting Started
Core Concepts
Chat
Social
Video
Amity UIKit
iOS
iOS Migration Guide
Amity UIKit Open Source
Overview
Installing UIKit
Setup & Authentication
Using Themes
Social UIKit
Using as a whole feature with the default settings
Our Components
Community home page
My Community Page
Category list page
Community list by category page
Community Creation Page
Community Profile Edit Page
Community setting page
Post Creation Page
Post Detail Page
Post Edit Page
Comment Creation
Comment Edit Page
Community profile page
Community member page
User profile page
User profile page (2.2)
User feed (2.2)
User setting page(2.2)
User profile edit page
Following / Follower user list page (2.2)
Follow request page (2.2)
Member selection page
Post target selection page
Using your own component
Overriding UIKit behaviour
Roles & Permissions
Chat UIKit
Video UIKit
Changelog
Android
Web
Amity Social Cloud Console
Amity Social Cloud API
Developer Kits
Beta Features
Changelogs
Support
Powered By
GitBook
User profile page (2.2)
This User profile page can support the Follow feature and User Privacy feature
There are two views for the user profile page.
1. User's own profile
This view allows the user to see his own user profile detail and his own user feed, there are two state user can see.
Default state
: Allows user to see his own following user counter and Follower user counter.
Request pending state
: Allows user to see his own following user counter, Follower user counter, and also the follow request he received.
Feature
Description
Follower counter
Shows the total count of followers. It will redirect to
Following / Follower user list page
when clicked.
Following counter
Shows the total count of users that you're following. It will redirect to
Following / Follower user list page
when clicked.
Pending follow request section
If you have pending follow requests from other users, you will see the pending request section. It will redirect to
Follow request page
when clicked.
Edit user profile
It will redirect to
User profile edit page
when clicked.
Components
​
User feed (2.2)
​
You can get this view by using this code:
1
let
userProfileViewController
=
AmityUserProfilePageViewController
.
make
(
withUserId
:
"userId"
)
Copied!
2. Other user's profile
This view allows the user to see other user's profile detail and their user feed. There are two states user can see
In the other user view , UIKIT has two main views that support the Follow user connection and the User privacy view.
Default state
: Allows user to see the connection between the current user and the target user profile.
If the current user is NOT connected to the viewing user and Private setting is Public
Follow button shows if user is not yet connect with the viewing user
If the current user is connected to the viewing user and Private setting is Public
Follow button will not show if User is already connected
If the current user is NOT connected to the viewing user and Private setting is Private
User feed is not shown since the current user is not connect and private setting is private.
If the current user has send request to the viewing user and Private setting is Private
Cancel request is shown if user has pending request and waiting for the request to be accept
Feature
Description
Follow button
When clicked, the system will make a connection with the User.
If the Connection method = with request, system will change to cancel pending state.
Cancel request button
When clicked, follow request will be canceled
Follower counter
Shows the total count of followers. It will redirect to
Following / Follower user list page
when clicked
Following counter
Shows the total count of users that you're following. It will redirect to to
Following / Follower user list page
when clicked.
Pending follow request section
If you have pending follow requests from other users, you will see the pending request section. It will redirect to
Follow request page
when clicked.
Edit user profile
It will redirect to
User profile page
when clicked.
User feed (Private view)
If a connection was not established, the user profile and the Private setting is Private.
Components
​
User feed (2.2)
​
You can get this view by using this code:
1
let
userProfileViewController
=
AmityUserProfilePageViewController
.
make
(
withUserId
:
"userId"
)
Copied!
​
Previous
User feed
Next
User feed (2.2)
Last modified
8mo ago
Export as PDF
Copy link
Contents
1. User's own profile
Components
2. Other user's profile
If the current user is NOT connected to the viewing user and Private setting is Public
If the current user is connected to the viewing user and Private setting is Public
If the current user is NOT connected to the viewing user and Private setting is Private
If the current user has send request to the viewing user and Private setting is Private
Components