Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Steph,</p> <p>If you used <code>@synthesize</code> for the button in the <code>.h file</code>, then getters and setters are automatically created. Thus (this is a longshot and just a thought) having the name <code>getMyTripButton</code> could be confusing Xcode somehow. Try renaming the variable? </p> <p>As far as the image not loading... for one of the buttons and not the other... da faq? Is this the only places that <code>gray_button.png</code> is getting called? (for example, you aren't modifying that button somewhere else that may tell it to use that image again). Have you tried putting it in the same directory as the nib that is using it? are you sure <code>getMyTripButton</code> is properly tied from the nib to the code?</p> <p>Last thing I can think of for now: you said </p> <blockquote> <p>I set the button background in the interface builder, but that wasn't showing up so I set it programmatically. All (but one button... why?) shows on the simulator but never show on a device</p> </blockquote> <p>do you have <code>popupButton</code>'s background image also set in the nib/interface builder? if you already have it set there and are setting it again here, it may be that it isn't really getting set in the code at all and is just using what is in interface builder which could explain why <code>getMyTripButton</code> may not be showing up/showing the background image.</p> <p>If I think of anything else that could be causing the issue i'll edit this post. Good luck, and hang in there.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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