Note that there are some explanatory texts on larger screens.

plurals
  1. POSet background texture for my iphone app UIView
    text
    copied!<p>I am newbi to iphone apps as well as to this forum.</p> <p>I want to place a background texture for my UIView that should cover the whole iPhone screen. I have controls placed on this view currently. Later on, I would like all my controls to be transparent, so user must be able to work with controls, but not see anything except its text.</p> <p>Here is what I tried:</p> <p>Created a UIView derived view - with simple background color, no image Placed my controls - UIButtons, labels Programmed all of them correctly to reflect my game logic</p> <p>Now I have a change of my mind. I think its lot better to have a background texture for my view, as well as controls.</p> <p>1) I tried things mentioned at: <a href="https://stackoverflow.com/questions/8695143/adding-a-background-image-in-interface-builder">Adding A Background Image In Interface Builder</a> but this covers my UI controls.</p> <p>2) Through Interface builder, I tried drag-dropping the texture image onto my view (which in turn, probably, created a UIImageview with background image = my texture). But that again hid every of my past work. Then I started playing with alpha value (0.1, 0.8 etc) - it gives me some result, but I am no longer able to design my controls. Nor I am able to click (=touch) them at runtime anymore.</p> <p>Please give me a method that will not disrupt my work so far (I hate redoing all the outlet wiring of my controls), but still allow me to achieve my goal.</p> <p>Forgive me if I asked too silly thing, or did not search enough. This is my first question, and will be glad to try any helpful solution!</p> <p>Many thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload