Browser control – UIWebView bounce background colour

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ch1mjw
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2
Joined: Fri Apr 09, 2010 10:30 am

Browser control – UIWebView bounce background colour

Post by ch1mjw » Fri Jul 08, 2011 10:42 am

I have a UIWebView browser control working fine except that when scrolling to the top or bottom and it bounces, then a grey colour shows behind. Is there a way to change that colour to something else? Thanks

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: Browser control – UIWebView bounce background colour

Post by Jellicle » Fri Jul 08, 2011 1:45 pm

Nope, not that I've ever seen.
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Browser control – UIWebView bounce background colour

Post by Klaus » Fri Jul 08, 2011 1:56 pm

I also think that this is supplied by the iOS and you cannot change this from within LiveCode.

ch1mjw
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2
Joined: Fri Apr 09, 2010 10:30 am

Re: Browser control – UIWebView bounce background colour

Post by ch1mjw » Fri Jul 08, 2011 3:04 pm

Apologies, this is a rtfm issue.

iphoneControlSet sBrowserId, "backgroundColor", "255,255,255" sets the default grey shown on the bounce to white, for instance.

This is at the top of page 42 in the IOS release notes for 4.6.2 (revision 39):

"Set to either a standard color name, or a string of the form red,green,blue or red,green,blue,alpha. Where the components are integers in the range 0 to 255."

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Browser control – UIWebView bounce background colour

Post by Klaus » Fri Jul 08, 2011 3:16 pm

Ah, thanks for the head up!

Post Reply