2011-03-07 30 views
2

在我的应用程序项目的资源中,我有Default.png,这是我的应用程序启动图像。根据设置是否可能更改启动图像?

感谢设置包,用户可以更改启动视图,所以如果用户更改设置,我的问题是如何找到另一个启动图像。

有没有办法?

回答

1

不,您不能更改应用程序包内的文件。

但是可以找到另一个简单的解决方案 - 因为这只是在启动您的应用程序后显示选定默认屏幕的视图,然后在例如5秒显示您的主视图:

+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)seconds target:(id)target selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)repeats 

[NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(showMainView) userInfo:nil repeats:NO]; 
相关问题