Xamarin 如何使我的看起来像Apple iOS设置页面上左侧的图标?

Xamarin 如何使我的看起来像Apple iOS设置页面上左侧的图标?,xamarin,xamarin.forms,Xamarin,Xamarin.forms,我有一个设置页面代码和一个自定义渲染器,如下所示,但我想能够做的是制作一个文本单元格,左侧有一个图标,就像苹果在他们的设置页面上一样 </TableSection> </TableView.Root> </TableView> </StackLayout> </ContentPage.Content> 有人知道我该怎么做吗 <ContentPage.Content&g

我有一个设置页面代码和一个自定义渲染器,如下所示,但我想能够做的是制作一个文本单元格,左侧有一个图标,就像苹果在他们的设置页面上一样

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
有人知道我该怎么做吗

<ContentPage.Content>
   <StackLayout>
      <TableView Intent="Settings" RowHeight="50" HasUnevenRows="true">
         <TableView.Root>
            <TableSection>
               <TextCell Text="English" StyleId="disclosure" Tapped="ABC"/>

            </TableSection>
            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
请参考这个

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
ViewCellRenderer更合适

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
在该项目中,只需将图像放在文本的左侧,代码放在类NativeIOCell和方法LayoutSubView中

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
附言:

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
如果要更改文本,请在DataSource中修改GetList

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
如果要更改图像内容,请替换CustomRenderer.iOS/Resources/images文件夹中的图像

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>
这是我的测试

            </TableSection>
        </TableView.Root>
      </TableView>
    </StackLayout>
 </ContentPage.Content>

或者您可以使用ImageCell并添加附件