Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4525] ScrollableView showPagingControl not appearing on iOS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2016-10-03T19:50:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsdefect, ios
ReporterAndrew Moore
AssigneeHans Knöchel
Created2016-10-03T14:34:27.000+0000
Updated2016-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)

Comments

  1. Hans Knöchel 2016-10-03

    Please provide a reproducible test-case first (single test in one app.js preffered).
  2. Andrew Moore 2016-10-03

    I have two different scrollable views in my app. They have different parent and children elements but the result is the same.
  3. Hans Knöchel 2016-10-03

    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 have pageIndicatorColor for the dots since 5.4.0).
  4. Hans Knöchel 2016-10-03

    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();
       

JSON Source