Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8651] iOS: Ability to disable scrolling in a ScrollView

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2012-07-27T11:20:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsapi, look1
ReporterPedro Enrique
AssigneeNeeraj Gupta
Created2012-04-10T11:12:52.000+0000
Updated2017-03-22T22:16:34.000+0000

Description

Expose the UIScrollView setScrollEnabled property to the JavaScript. Code in TiUIScrollView.m
-(void)setScrollEnabled_:(id)args
{
	[[self scrollView] setScrollEnabled:[TiUtils boolValue:args def:YES]];
}
Javascript could would be:
var scroll = Ti.UI.createScrollView({
    scrollEnabled: false
});

Comments

  1. Vishal Duggal 2012-07-27

    Duplicate of TIMOB-8937
  2. Lee Morris 2017-03-22

    Closing ticket as duplicate and links to the related ticket have been provided above.

JSON Source