1
我使用tvml
開發tvOS應用程序。tvOS中「更多」按鈕與文本截斷不起作用
由於描述文字較長,系統會按照more
按鈕將長文本切成簡短描述。
但是,more
按鈕不起作用。點擊按鈕後,它不會顯示任何內容,並且應該彈出一個屏幕,其中包含所有說明。
以下是代碼的一部分。如果你能幫助我,我真的很感激!
<document>
<head>
<style>
</style>
</head>
<compilationTemplate theme="dark">
<list>
<relatedContent>
<itemBanner>
<heroImg src="${this.BASEURL}images/stackImage/stack01.png" width="650" height="650" />
</itemBanner>
</relatedContent>
<header>
<title>This is a title</title>
<subtitle>Aware</subtitle>
<row>
<text>120 minutes</text>
</row>
</header>
<section>
<description allowsZooming="true">This is the long description!This is the long description!This is the long description!This is the long description!This is the long description!This is the long description!
</description>
</section>
<section>
<listItemLockup autoHighlight="true" videoURL="videoURL">
<ordinal minLength="2">1</ordinal>
<title>This is the subject</title>
<decorationLabel>15:28</decorationLabel>
</listItemLockup>
</section>
</list>