Xamarin - iOS - Storyboard/Button - Background images disappears on build/run -
when building app on physical device, background images don't show up.
i working in storyboad editor in visual studio.
i wanted set image background on button seek out working nice ui. experiencing weird behavior , issues:
the images in subfolder resources called "images", , set "bundleresource". name of specific image "start.png". on background alternative on button can take "images/start.png" , on storyboard button looks correct.
if build app , seek , run on physical device attached build host, background not shown on device. @ same time graphics on button in storyboard disappears. if select button background field empty.
for image set using images/start.png set visual studio because windows understands path "\" , mac understands "/".
so if you've set path using "\" visual studio provide auto intellisense image name , path if set using "/" visual studio, won't provide intellisense , clears property 1 time run in simulator or on device.
ios xamarin
No comments:
Post a Comment