应用程序在连续使用ViewController 4分钟时崩溃

时间:2016-05-02 11:26:05

标签: ios objective-c swrevealviewcontroller

ViewController.h


#import <UIKit/UIKit.h>

@interface ViewController : UIViewController<UICollectionViewDataSource,UICollectionViewDelegate>

@property (weak, nonatomic) IBOutlet UIScrollView *mainScrollView;
@property (weak, nonatomic) IBOutlet UICollectionView *NewPrciousCltnVw;
@property (weak, nonatomic) IBOutlet UICollectionView *NewFashionCltnVw;
+ (NSString *)stringVariable;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *sidebarButton;
+ (NSString *)proVariable;
@property (weak, nonatomic) IBOutlet UIScrollView *imageSlider;

@property (weak, nonatomic) IBOutlet UILabel *lblNewArrivals;
@property (weak, nonatomic) IBOutlet UILabel *lblFeaturedProducts;

@property (weak, nonatomic) IBOutlet UILabel *roundedoffers;
@property (weak, nonatomic) IBOutlet UIView *lbloffers;
@property (weak, nonatomic) IBOutlet UIScrollView *offersSlider;

@end

这是我的故事板

enter image description here

这里ViewController是SWRevealViewController的'前视图',而Menu ViewControler是'后视图'。如果我连续使用push到SecondViewController并返回ViewController超过3分钟我的应用程序崩溃了。有人帮我解决了这个问题并提前感谢

0 个答案:

没有答案