作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我开发了一个 iOS 应用程序,我的母语是波斯语(一种从右到左的语言)。如何在 iOS 编程中将 UITableView 方向更改为从右到左?
具有 RTL 方向的 UITableView 具有:
像这样:
是否有任何 UI 或编程方式可以做到这一点?
最佳答案
在 Swift 上试试这个
tableView.semanticContentAttribute = .forceRightToLeft
或在 StoryBoard 单元格属性(语义下拉列表)中选择“强制从右到左”
关于ios - 将 UITableView 方向更改为从右到左,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38035668/
目前我正在使用 [self presentModalViewController :newVC animated:YES] 。我想从左/右/顶部/底部呈现带有推送效果的 newViewcontroll
我正在尝试实现“带有上一个和下一个的部分幻灯片”。这些部分的标记如下: Section 1 Section 2 Section 3 Prev Next 除具有 acti
我的问题与此处提出的问题几乎相同:question 不同的是,我想从右边切换第 2 位和第 4 位数字,而不是像另一个问题中那样从左边切换。所以在我的例子中最右边的数字是 1。示例:283926.67
我是一名优秀的程序员,十分优秀!