UITableView on iPad/iPhone like Mail.app
-
22-09-2019 - |
문제
how can i made an UITableView looks like the Mail.app from iPhone/iPad? With an heading, the time/date in the right top and 3-5 Lines of text as subtitle?
I cant't find anything about this.
Thank's!
해결책
나는 마침내 그것을 알아 냈습니다, 경로가 ASP.NET MVC 응용 프로그램의 Default Global Global.asax 템플릿으로 인해 기본적으로 를 정의합니다.
void Application_Start() { ... }
.
및 HTTPApplication이 메소드를 정의하지 않기 때문에이 메소드가 시작될 때이 메소드를 호출합니다.따라서 defined application_start 메서드를 갖는 NinjectWcfApplication
에서 파생되면 기본 메소드를 다음과 같이 변경해야합니다.
.
protected override void Application_Start(object sender, EventArgs e)
{
.....
base.Application_Start(sender, e);
}
우리가하지 않으면이 IIS는 NinjectWcfApplication.Application_Start
메소드 대신 Application_Start
를 호출합니다.
다른 팁
The easiest way is to specify the desired UITableViewCell style in the "cellForRowAtIndexPath:" method of your UITableViewController. The available styles can be found in the documentation for UITableViewCell (see the "– initWithStyle:reuseIdentifier:" section). Simply type "UITableViewCell" in the search field of the documentation section of Xcode for a complete overview.