我在iOS 5 beta 5的应用程序图标中遇到光泽效果问题,在iOS 4中显示效果不是光泽,但iOS5显示光泽效果.我提出了选项Icon already includes gloss effects = YES
,但根本不起作用,看来应用程序Google+也存在同样的问题
我有一个简单的UIViewControler,当我调用方法[self performSelectorInBackground:@selector(load)withObject:nil]; 它导致和EXC_BAD_ACCESS
这是UIViewControler.m和UIViewControler.h
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@property (strong, nonatomic) UITextView *myTextView;
@end
#import "ViewController.h"
@implementation ViewController
@synthesize myTextView;
- (id)init {
self = [super init];
if (self) {
myTextView = [[UITextView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[[self view] addSubview:myTextView];
[self performSelectorInBackground:@selector(load) withObject:nil];
}
return self;
}
- (void) load {
@autoreleasepool {
[myTextView setText:@"LOADING ..."];
//DO SOMETHING ....
}
}
@end
Run Code Online (Sandbox Code Playgroud)
PS:
该项目使用Objective-C ARC