TTLauncher View of Three20 not working

北慕城南 提交于 2020-01-03 04:30:07

问题


I have followed a tutorial to make a simple launcher view like in facebook app. But nothing is displayed on screen when program runs and it shows only a white screen. I dont know why this is happening plz help.

The tutorial i followed is at [I have followed a tutorial to make a simple launcher view like in facebook app. But nothing is displayed on screen when program runs and it shows only a white screen. I dont know why this is happening plz help.

The tutorial i followed is at http://iosguy.com/2010/10/19/tthree20-a-brief-ttlauncherview-tutorial .]1 .


回答1:


I encountered the same problem. The solution that worked for me was to set the background of my "MainWindow.xib" to "Clear Color" (default is "White Color"). If you have no xib, you can still set the color in your AppDelegate: [self.window setBackgroundColor:[UIColor clearColor]];




回答2:


if u need only launcher effect , better try this , light weight library

https://github.com/rigoneri/myLauncher

Hope this Helps!




回答3:


It seems to me that the method:

- (void)applicationDidFinishLaunching:(UIApplication *)application {

is lacking at the end:

[navigator.window makeKeyAndVisible];

If you need more help, please, post your code...



来源:https://stackoverflow.com/questions/6924851/ttlauncher-view-of-three20-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!