[AC-4525] ScrollableView showPagingControl not appearing on iOS
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Invalid |
| Resolution Date | 2016-10-03T19:50:33.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | defect, ios |
| Reporter | Andrew Moore |
| Assignee | Hans Knöchel |
| Created | 2016-10-03T14:34:27.000+0000 |
| Updated | 2016-10-03T19:51:29.000+0000 |
Description
The black bar with the white dots is not showing up on iOS 10 using SDK 5.5.0. I think they were showing correctly on SDK 5.2.2.GA but I can no longer build using that with the newer version of XCode. (The left/right arrows are showing correctly on Android)
Please provide a reproducible test-case first (single test in one app.js preffered).
I have two different scrollable views in my app. They have different parent and children elements but the result is the same.
Use
pagingControlColor: "black"to get a black paging-bar. The default background-color is transparent like natively. Also check out the docs to style the dots as well (we havepageIndicatorColorfor the dots since 5.4.0).Example:
var win = Ti.UI.createWindow({ backgroundColor: "green" }); var scroll = Ti.UI.createScrollableView({ views: [Ti.UI.createView({backgroundColor: "red"}), Ti.UI.createView({backgroundColor: "yellow"})], showPagingControl: true, currentPageIndicatorColor: "blue", pageIndicatorColor: "gray", }) win.add(scroll); win.open();