小编Gab*_*iel的帖子

使用iOS中的自定义字体和Adobe的Typekit

我知道它可以使用海关的字体在一个应用程序通过和更改info.plist中抛出.TFF但有可能使用的字体从typekit.com?我的客户想要一个名为Omnes Pro的特定字体.但该网站似乎只面向HTML开发人员.我不是这样的.有帮助吗?

fonts typekit ios

2
推荐指数
1
解决办法
8214
查看次数

UI状态栏淡入淡出时间iOS

我在那里你点击一个UIImageView和按钮淡出回来的应用程序.状态栏不相同,除了它只是涉及到快.有没有办法计算其淡入时间以匹配我的按钮时间?这是我的.m文件,其中包含按钮和状态栏的代码.

.M

- (void)viewDidLoad
{
////Loads UIImageView from URL
todaysWallpaper.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.inkdryercreative.com/daily/archive/mondays/images/062-mondays-960x640-A.jpg"]]]; 

_buttonsVisible = false;

[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.

  UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]    initWithTarget:self action:@selector(imageTapped:)];
  [todaysWallpaper addGestureRecognizer:tapGesture];
}

- (void)viewWillAppear:(BOOL)animated 
{
[super viewWillAppear:animated];

[[UIApplication sharedApplication] setStatusBarHidden:YES];
}

- (void)imageTapped:(UIGestureRecognizer *)sender {
float targetA = 0;
if(_buttonsVisible == NO) {
 targetA =1.0;
 } else {
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(imageTapped:)  object:nil];
  [[UIApplication sharedApplication] setStatusBarHidden:YES];
  [[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
  [[UIApplication sharedApplication] …
Run Code Online (Sandbox Code Playgroud)

animation objective-c fade ios uistatusbar

2
推荐指数
1
解决办法
3164
查看次数

标签 统计

ios ×2

animation ×1

fade ×1

fonts ×1

objective-c ×1

typekit ×1

uistatusbar ×1