开发者

How to change TTLauncherItem's text label frame/position

开发者 https://www.devze.com 2023-01-27 15:39 出处:网络
I need a custom TTLauncherItem displaying the text on to of the image. Is there a way to get this workin开发者_JAVA百科g?

I need a custom TTLauncherItem displaying the text on to of the image. Is there a way to get this workin开发者_JAVA百科g?

Default looks like:

+----+
|    |
+----+
 text

And I want it to be like this:

+----+
|text|
+----+

Thanks for your help!


you can modify the image parameter in the TTLauncherItem init function.

[[[TTLauncherItem alloc] initWithTitle:@":)"
      image:nil
      URL:@"tt://tabBarTest" canDelete:NO] autorelease]
0

精彩评论

暂无评论...
验证码 换一张
取 消