I have 3 buttons:
*.h: (all are with filled circle, that means that they are assigned)
@property (strong, nonatomic) IBOutlet UIButton *AllButton;
@property (strong, nonatomic) IBOutlet UIButton *FavouritesButton;
*.m:
@synthesize FavouritesButton;
@synthesize AllButton;
and code:
AllButton.imageView.image =[UIImage imageNamed:@"list_top_icon_active-1.png"]; //image exists
And it doesn't change the image! On other View i did the same and they work - what the hell?
I even tried to set not existing image:
AllButton.imageView.image =[UIImage imageNamed:@"oisagiowgiow.png"]; //image doesn't exist - but no errors or crashes
Can anyone help me fix this?