UIImageView is displayed in the storyboard, but not displayed in the simulator

I added images using uiimageview to the storyboard and connected them to iboutlets and they do not appear in the simulator. I don’t think they are turned off, as they are very close to other images, and I have an automatic layout, as I saw in other threads, which can be a problem. This is some kind of code if it can help. None of the hearts will appear in the simulator.

EDIT: I just moved one of the other images to the center of the screen, and when I clear / build / run nothing changed in the simulator. Therefore, for some reason, everything that I change in the storyboard is not transferred to the simulator. It all worked last night, and I'm not sure what could change until today.

#import <UIKit/UIKit.h>

float LeftMovement;
float RightMovement;
float UpMovement;
int life = 3;

@interface Game : UIViewController
{
    IBOutlet UIButton *Start;
    IBOutlet UIImageView *Runner;
    IBOutlet UIImageView *Water;
    IBOutlet UIImageView *Heart1;
    IBOutlet UIImageView *Heart2;
    IBOutlet UIImageView *Heart3;
    IBOutlet UILabel *Lives;

    NSTimer *Movement;


}

-(IBAction)StartGame:(id)sender;
-(void)Moving;
-(void)Walk;
@end
+4
5

,

Xcode, File Inspector, " "

+8

, . , , " " .

+1

, .xib . "image" ? , ? , , , .

0

, , . View , Alpha 1? , 0, .

0

, . .gif, , - . .png

0

All Articles