Ниже приведен мой класс .main. Когда я запускаю свое приложение на устройстве, оно получает исключение, но работает в симуляторе. Пожалуйста, предложите. Спасибо
Код: Выделить всё
#import
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));// //here are exception what i can see in xcode
}
}
expiation :Application tried to present modally a view controller
reason __NSCFString * "Application tried to present modally a view controller that is already being presented by ." 0x000000028258c580
Источник: https://stackoverflow.com/questions/781 ... ller-in-re