i am using the IOSscrollview(xojo example).
my code is on the open event but i get the first page half size and no ScaleAspectFit,and the second ok without ScaleAspectFit .
i try to figure out how i will get the photo full paged with ScaleAspectFit?
Can anyone help me on this?
dim cc() as Integer = array (0,1, 2, 3, 4)
dim r as iOSImageView
for i as integer=0 to cc.Ubound
r=new iOSImageView
r.Image = pic1
me.AddControl r
r.ContentMode = iOSImageView.ContentMode.ScaleAspectFit
next
Pager.numberOfPages=cc.Ubound+1
Pager.currentPage=0