Button Icons not appearing in iOS

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
raugert
Posts: 112
Joined: Thu May 26, 2016 9:30 pm

Button Icons not appearing in iOS

Post by raugert » Mon Feb 11, 2019 4:27 am

I have simple icons in some buttons but they don't appear in iOS app, nor on the simulator. However they work fine on Mac and Windows. I haven't done that much development for iOS, but I'm pretty sure it worked in the past...

I'm using Indy version 9.0.1 build 15103
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7392
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Button Icons not appearing in iOS

Post by jacque » Mon Feb 11, 2019 8:01 pm

Did you import the images into the stack? If not, you'll probably need to reset the button icon IDs after that, since importing will give the images new IDs.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

raugert
Posts: 112
Joined: Thu May 26, 2016 9:30 pm

Re: Button Icons not appearing in iOS

Post by raugert » Mon Feb 11, 2019 10:31 pm

I’m only using the standard Livecode icons. No imported images as such.
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7392
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Button Icons not appearing in iOS

Post by jacque » Mon Feb 11, 2019 11:06 pm

You'd still need to import the icons to your stack. In the Development menu, open the Image Library. Select the icons you use in one of the libraries and choose "Import selected". That will embed them into your stack. If you just use the icon picker in the property inspector, it references those icons but doesn't actually import them.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

raugert
Posts: 112
Joined: Thu May 26, 2016 9:30 pm

Re: Button Icons not appearing in iOS

Post by raugert » Tue Feb 12, 2019 1:50 am

That did it. I guess I didn't use those icons much in the past. Mostly imported my own.. I thought that the Livecode icons would automatically be added into the standalone seeing as they are already included in Livecode but apparently not :)

thanks for your help jacque,
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0

Post Reply