# An iOS profile page in one minute

Language: en
Canonical: [An iOS profile page in one minute](<https://allluckly.cn/en/journal/2015-08-31-an-ios-profile-page-in-one-minute/>)
中文：[中文 HTML](<https://allluckly.cn/uitabview/1%E5%88%86%E9%92%9F%E5%81%9A%E5%87%BA%E8%B6%85%E7%82%AB%E7%9A%84%E4%B8%AA%E4%BA%BA%E7%95%8C%E9%9D%A2%E4%B8%8D%E5%86%8D%E6%98%AF%E6%A2%A6>)
English: [English HTML](<https://allluckly.cn/en/journal/2015-08-31-an-ios-profile-page-in-one-minute/>)
Published: 2015-08-31T00:00:00+08:00
Modified: 2026-10-23T10:44:59+08:00
Author: [Bison](<https://allluckly.cn/about/>)

Introduces integration of the LBPersonalPage\_VC profile-page component. Importing its files, inheriting from the base controller and adding configuration lets a project reuse the page's visual behaviour; the example project provides the implementation details.

Originally credited to Bison. Content is retained as published.

English translation of the [Chinese original](<https://allluckly.cn/uitabview/1%E5%88%86%E9%92%9F%E5%81%9A%E5%87%BA%E8%B6%85%E7%82%AB%E7%9A%84%E4%B8%AA%E4%BA%BA%E7%95%8C%E9%9D%A2%E4%B8%8D%E5%86%8D%E6%98%AF%E6%A2%A6>), translated on 2026-10-23. The article body uses automated translation; app descriptions, historical reading notes and video subtitles receive separate editorial checks. Original publication dates, attribution, code and version notes are retained.

**Before you read** This technical note dates from 2015–2017. The examples have not been rerun as part of this archive update. Read API, dependency and tool details in the context of the original publication date.

> “Enrich yourself and increase your value by continuing to learn.” Bison

A striking profile interface in one minute is no longer a dream! Let’s go straight to the code.

First, drag LBPersonalPage\_VC into your project.

Then `继承LBPersonalPage_VC`.

The code is as follows

> Core code

```css
//头像设置
self.headImageView.image = [UIImage imageNamed:@"myheadimage.jpeg"];
//背景设置
self.imageBG.image = [UIImage imageNamed:@"BG.jpg"];
//昵称设置
self.nameLabel.text = @"BISON";
//右边按钮
- (void)rightBtnAction{
    NSLog(@"hello-rig");
}
//左边按钮
- (void)leftBtnAction{
    NSLog(@"hello-left");
}
```

> [Click to download the demo](<https://github.com/AllLuckly/LBPersonalPageDemo>)

> [Click for the Swift demo](<https://allluckly.cn/en/journal/2015-09-07-a-swift-profile-page-with-a-simple-integration/>)

![(LBPersonalPageDemo)](<https://github.com/AllLuckly/LBPersonalPageDemo/blob/master/123.gif?raw=true>)

