Background not showing in ios

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
hsh_636
Posts: 31
Joined: Sun Mar 02, 2014 5:15 pm

Background not showing in ios

Post by hsh_636 » Wed May 28, 2014 2:57 pm

Hello everybody I put a background for my stack and it shows perfectly on the card until I test it in the ios simulator because once I do it doesn't show the background I put can anybody tell me what's wrong?

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Background not showing in ios

Post by Klaus » Wed May 28, 2014 3:14 pm

Could you eventually provide a TAD more info? 8)

What background? An image, a group with controls?
Any card/stack scripts dealing with backgrounds/groups?
What version of LC?

hsh_636
Posts: 31
Joined: Sun Mar 02, 2014 5:15 pm

Re: Background not showing in ios

Post by hsh_636 » Wed May 28, 2014 4:00 pm

Yeah sorry about that I added the background by putting the image into the image library then went to colors and patterns in the card inspector and then clicked on the image thats in the image library.

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Background not showing in ios

Post by Klaus » Wed May 28, 2014 4:08 pm

Aha, I never used the "image library", no idea how it works, but does LC add the image library when creating a standalone?
Maybe there is a checkbox or something in the standalone builder settings?

Maybe you better put the image directly into your stack?

hsh_636
Posts: 31
Joined: Sun Mar 02, 2014 5:15 pm

Re: Background not showing in ios

Post by hsh_636 » Wed May 28, 2014 4:28 pm

Yeah but wouldn't cover up the contents that is already there I can use bending but it still doesn't look right.

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Background not showing in ios

Post by Klaus » Wed May 28, 2014 4:39 pm

hsh_636 wrote:Yeah but wouldn't cover up the contents that is already there I can use bending but it still doesn't look right.
:shock:
Sorry, don't get this!?

hsh_636
Posts: 31
Joined: Sun Mar 02, 2014 5:15 pm

Re: Background not showing in ios

Post by hsh_636 » Wed May 28, 2014 8:22 pm

Sorry for the late reply, but I meant was I already have buttons and fields on the card so if I use your method it will cover up the buttons and the fields.

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Background not showing in ios

Post by Klaus » Wed May 28, 2014 9:25 pm

Set the LAYER of the image to a lower number, via script or the inspector 8)

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Background not showing in ios

Post by sefrojones » Wed May 28, 2014 9:34 pm

You can push an Image all the way to the back, by pressing this button in the property inspector. :)
Layer.PNG

hsh_636
Posts: 31
Joined: Sun Mar 02, 2014 5:15 pm

Re: Background not showing in ios

Post by hsh_636 » Wed May 28, 2014 11:08 pm

Thanks for all your help Mr. Klaus and Mr. sefrojonesGAda40.

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Background not showing in ios

Post by Klaus » Thu May 29, 2014 10:48 am

I may repeat myself, but you really should work through these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html

Post Reply

Return to “Talking LiveCode”