Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

scrollview control in iOS

$
0
0

Hi all am not able to control the scroll.means i really don't no how to express my issue .say i have a scrollview i'm adding a view to it .in that view i had added some labels,view and buttons.. now the problem is when i scroll it down words i can view all these labels n all but that view is not staying.below is my code i'm not providing entire code of view because i had added lot of labels n views to that view.It works fine with android facing problem is with iOS my js file

var eventview = Ti.UI.createView({
                top : '13%',
                height : "100%",
                width : "100%",
                //backgroundColor : "yellow"
            });
 
            $.sview.add(eventview);
tss file
"#sview":{
top:"7%",
backgroundColor:"pink",
contentWidth: 'auto',
contentHeight: 'auto',
height: '100%',
width: '100%'
}
xml
<Alloy>
    <Window id="shiftwin">
        <ScrollView id="sview"  scrollType="vertical">
</ScrollView>
    </Window>
</Alloy>

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>