Jan 18
leftSwitchLabel.textColor = [UIColor colorWithRed:255/255.0 green:255/255.0 blue:167/255.0 alpha:1];
Note: 雿輻冽蝯血潸敺閬支誑255
leftSwitchLabel.textColor = [UIColor colorWithRed:255/255.0 green:255/255.0 blue:167/255.0 alpha:1];
Note: 雿輻冽蝯血潸敺閬支誑255
modifying layer that is being finalized
solution:
[view removeFromSuperview];
隞
[view release];
:
撣貊潛典UI銝蝘駁斗View
release 靽格嫣撌脩releaseview
蝘駁己iew銝祆雿憿箏閰脫
1:removeFromSuperview
2:release view
PS. autorelease 撠曹典release鈭
ref:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/8038-modifying-layer-being-finalized.html
http://blog.evandavey.com/2009/03/how-to-solve-modifying-layer-that-is-being-finalized-iphone-sdk.html
隞 str1 str2 豢亙雿萄 str 箔
NSString *str1 = @"2012/01/01"; NSString *str2 = @"航交急"; NSString *str = [str1 stringByAppendingString:str2];
didSelectRowAtIndexPath 銝湔璅賭脣鳴敺靘潛暹臬 customized tableview 瘝 delegate View controller 靽
啣