Lorsque je clique sur le bouton « Bonjour tout le monde » pour aller à une nouvelle page « View Controller » il me donne ces erreurs:erreur lorsque je clique sur le lien
"2015-12-27 16:48:36.939 Projects name [197:60b] * Terminating app due to uncaught exception 'NSGenericException', reason: 'Push segues can only be used when the source controller is managed by an instance of UINavigationController.' * First throw call stack: (0x30689f83 0x3ae3accf 0x33382c21 0x32edc037 0x32edbfd7 0x32edbfb1 0x32ec7717 0x32edba2f 0x32edb701 0x32ed66cb 0x32eab8cd 0x32ea9f77 0x3065520b 0x306546db 0x30652ecf 0x305bdebf 0x305bdca3 0x354c3663 0x32f0a14d 0x51385 0x3b347ab7) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)"
Et
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
Quelqu'un peut-il aider? Je suis un débutant btw.
Quel code gère le clic du bouton? –
"Hello World" bouton .. ou je n'ai pas eu votre question. – sahaaboo
@sahaaboo Utilisez-vous Storyboard? –