UIImage *image = [UIImage imageNamed:@"历史标题.png"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
[self.navigationController.navigationBar addSubview:ImageView];
本文介绍如何使用UIImage与UIImageView将一张名为“历史标题.png”的图片显示在UINavigationController的navigationBar上。
UIImage *image = [UIImage imageNamed:@"历史标题.png"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
[self.navigationController.navigationBar addSubview:ImageView];

被折叠的 条评论
为什么被折叠?