iOS7 and scrolling fields
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
iOS7 and scrolling fields
Anyone noticed since iOS7 that the scrolling fields, using
iphoneControlCreate "scroller"
have now been either too sensitive without the touch delay or just not working at all?
Scott
iphoneControlCreate "scroller"
have now been either too sensitive without the touch delay or just not working at all?
Scott
Re: iOS7 and scrolling fields
Nope. Mine work fine.
Gerry
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: iOS7 and scrolling fields
Scott..
Yes I noticed that.. it seems that a 'fix' right now is to set 'canCancelTouches' to false. This seems to have worked for me. This 'fix' was suggested by support@runrev on the use-list yesterday... I am scrolling a lot of groups and using a 'behavior' to control actions in the groups. I was using 'mouseDown, mouseUp' handlers in the 'behavior' script that made them very sensitive... using the 'touch' commands instead seems to have sorted the problem..
Dixie
Yes I noticed that.. it seems that a 'fix' right now is to set 'canCancelTouches' to false. This seems to have worked for me. This 'fix' was suggested by support@runrev on the use-list yesterday... I am scrolling a lot of groups and using a 'behavior' to control actions in the groups. I was using 'mouseDown, mouseUp' handlers in the 'behavior' script that made them very sensitive... using the 'touch' commands instead seems to have sorted the problem..
Dixie
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: iOS7 and scrolling fields
Dixie,
Do you have a sample script of your fix using the "touch" commands? My main menu are images some 40 images in a horizontal scroller. On Mousedown triggers a "go to card...". But, the mousedown is triggered before the scoller scrolls so, the scroller is essentially useless. So the 60% of the people who upgraded to iOS7 have my App at home that is now nonfunctional, So I need to correct the problem and upload a fast update!
Do you have a sample script of your fix using the "touch" commands? My main menu are images some 40 images in a horizontal scroller. On Mousedown triggers a "go to card...". But, the mousedown is triggered before the scoller scrolls so, the scroller is essentially useless. So the 60% of the people who upgraded to iOS7 have my App at home that is now nonfunctional, So I need to correct the problem and upload a fast update!
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: iOS7 and scrolling fields
Wouldn't you just use mouseUp?
Yes, mouseDown would screw a scroll.
Simon
Yes, mouseDown would screw a scroll.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: iOS7 and scrolling fields
Must be something specific.. I have an app that is running on IOS7 now that uses Scrolling Fields (via tmControls) which seem to work fine.
Any further detail on the issue? is it just a delay thing?
Any further detail on the issue? is it just a delay thing?
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: iOS7 and scrolling fields
Scroll fields with text works fine, though I noted a bit sensitive. But I have a SCROLLER group of images instead of a field. When an image is clicked, it goes to a particular card. So in iOS7, somehow mousedown and mouse up prevent a scroller from moving side to side. But following Dixie's transition to using touchstart and touchend, it seems to have worked.
local tid
on touchstart tid
end touchstart
on touchend tid
go to cd next card
end touchend
Will need to test it out this weekend and update quick on the App Store before I get 30,000 complaints in email!
Scott
local tid
on touchstart tid
end touchstart
on touchend tid
go to cd next card
end touchend
Will need to test it out this weekend and update quick on the App Store before I get 30,000 complaints in email!
Scott
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: iOS7 and scrolling fields
Scott..
You have done exactly what I have done... threw everything into a'touchEnd' handler. My behaviour script still gave problems when I moved the lines of the handler from the 'mouseDown' to the 'touchStart' and the 'mouseUp' to the 'touchEnd'... the only solution at the moment seems to have everything in the 'touchEnd handler... I think there are another couple of behaviour scripts though where not being able to split the lines of script between mousedown/touchStart and mouseUp/touchEnd will give me some hassle... c'est la vie...
Dixie
You have done exactly what I have done... threw everything into a'touchEnd' handler. My behaviour script still gave problems when I moved the lines of the handler from the 'mouseDown' to the 'touchStart' and the 'mouseUp' to the 'touchEnd'... the only solution at the moment seems to have everything in the 'touchEnd handler... I think there are another couple of behaviour scripts though where not being able to split the lines of script between mousedown/touchStart and mouseUp/touchEnd will give me some hassle... c'est la vie...
Dixie