Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何以编程方式获取标签栏的高度?
我发现 UITabBar 的高度是 49px 或 50px 取决于源 因为我不喜欢在代码中使用太多硬编码值 所以我想知道是否可以以编程方式检索选项卡栏的高度 亲切的问候 尼尔斯 R PS 我问的原因是因为我有一个视图控制器 带有包含文本字段
ios
iphone
UIKit
UITabBarController
UITabBar
制作自定义tabBar的方法
创建这样的效果以及导航控制器和视图控制器的处理的最佳方法应该是什么 如果我不想在 viewcontorller 中重新调整每个后续视图的大小并且事情看起来就像是一个 该怎么办标签栏 我建议使用 UIImageView 作为蓝色背景 然后使用
iphone
customcontrols
UITabBar
iOS 10:自定义 UITabBar 背景图像在图像顶部产生边框。我该如何删除它?
有人有一个有效的解决方案来消除 iOS 10 中的这个边框吗 我有一个自定义的 UITabBar 背景图像 我已尝试以下操作但没有结果 tabBar backgroundImage UIImage named myBackgroundIma
swift
UITabBarController
iOS10
UITabBar
tabBar didSelectItem 似乎不起作用
在我的头文件中我有这个 interface TabBarController UIViewController
iphone
ios
xcode
UITabBar
如何在 Swift 中的 UI 选项卡栏上应用渐变?
我通过故事板构建了选项卡栏 并自定义颜色 我在应用程序委托中更改它 使用UITabBar appearance barTintColor Color 我有一个梯度方法是这样的 func setGradientBackground color
ios
swift
UITabBar
如何更改 iOS 7 中 tabBarItems 的文本和图标颜色?
如何更改 iOS 7 中 UITabBar 和 UITabBarItems 的文本和图标颜色 对于未选择的选项卡栏项目 默认的灰色文本看起来很暗且难以阅读 为此 您需要做两件事 1 如果要自定义TabBar本身 需要为tabBarContr
UITabBarController
UITabBar
tabbar
uitabbaritem
ios7
在 ViewController 中重新加载/刷新选项卡栏项目?
我正在尝试更改 ViewController 中选项卡栏的图像 但要显示新图像 我必须单击每个选项卡栏项目 for CustomTabBarItem myItem in self tabBarController tabBar items
iphone
icons
UITabBarController
UITabBar
uitabbaritem
在 UITabBar 顶部查看
Similar to what the Spotify or Apple Music app does when a song is playing it places a custom view on top of the UITabBa
ios
swift
UITabBar
防止 UITabBar 在按下时隐藏
首先说一下我的应用场景 UI导航控制器 关系 UIViewController 主要 push UI标签控制器 push UIViewController一 这里的问题是标签栏隐藏在UIViewController一 我怎样才能让它可见 s
防止 UITabBar 将渐变应用于其图标图像
当我为 UITabBar 制作图标时 它会对图像应用渐变 我需要知道如何防止它出现这种梯度 Apple 在 iOS 5 中添加了标签栏自定义功能 现在这种东西已经微不足道了 在此之前 这是一个巨大的黑客攻击 不推荐 以下是如何制作完全自定义
iphone
UITabBar
uitabbaritem
如何将 UITabBar 项目从 UITabBar(不是 UITabBarController)连接到 IB 中的不同视图?
我创建了一个 StoryBoard 项目并添加了UITabBar我的第一眼和一些UITabBar其上的物品 我正在使用UITabBar而不是一个UITabBarController因为UITabBar需要可垂直滚动 因此它位于UIScrol
ios
Objectivec
UITabBar
将 UITabBarItem 图像向下移动?
通常在每个选项卡上UITabBar您有一个小图像和一个命名该选项卡的标题 图像位于选项卡顶部 居中以容纳下面的标题 我的问题是 如果你想要一个只有图像而没有标题的 tabBar 有没有办法将图像向下移动 以便它在选项卡中更好地居中 我目前正
iphone
Objectivec
cocoatouch
UITabBar
uitabbaritem
如何使InputAccessoryView出现在UITabBarViewController的选项卡上方?
我有一个自定义视图 我正在使用它inputAccessoryView for my tableViewController the tableViewControlleris里面一个tabBarViewController它位于导航控制器内
ios
swift
UITabBarController
UITabBar
inputAccessoryView
iOS UITabBar:删除顶部阴影渐变线
我实现了一个自定义 UITabBar 并且它上面仍然有这个渐变 阴影 我添加了 self tabBar setBackgroundImage UIImage imageNamed navBarBottom png 这只是改变背景但保持阴影渐
iphone
ios
UITabBarController
UITabBar
有没有办法调整 UITabBar 按钮项目的宽度以适应屏幕上超过 5 个按钮?
我的按钮似乎被拉长了 尤其是在横向方向上 我无法在 UITabBar UITabBarViewController 或 UITabBarItem 本身上找到可调整的属性 当然 一个答案是购买 iPad 但这并不能解决对手机的需求 例如 考虑
ios
Button
width
UITabBar
items
如何设置UITabBar触摸区域
我遇到过UITabBar触摸面积问题 上方额外的触摸区域 约 5 个像素 UITabBar被算作是UITabBar 放置在该区域的所有物体都将被阻挡并且UITabBar反而会做出反应 我发现有些人问了同样的问题 以下链接 但无法得到答案 有
touch
UITabBar
overlap
shopkick 应用程序 UI 小部件
请参阅下面的链接 http itunes apple com app id383298204 mt 8 http itunes apple com app id383298204 mt 8 有 showpick 应用程序的屏幕截图 其中有一
iphone
cocoatouch
iphonesdk30
ios4
UITabBar
如何在也具有导航的 Tabbar 应用程序中调用 viewWillDisappear 方法
我在我的应用程序中创建了 5 个选项卡 在Tab1 i have UITableView On didSelectRowAtIndexPath我正在导航到另一个 UIView 其中显示了我的所有 5 个选项卡 我还在那个导航视图中播放歌曲
iphone
Objectivec
uinavigationcontroller
UITabBarController
UITabBar
选项卡栏图标选定的图像
如何自定义标签栏上选定的图像 图标 这可能吗 请指教 谢谢 无需添加任何子视图即可实现 在定义选项卡栏的类中设置 tabBarItem 至 gt gt UITabBarItem tabBarItem1 self tabBar tabBar
iphone
UITabBar
iOS 7隐藏标签栏问题
IOS7 中隐藏选项卡显示非正式行为 当我使用 self tabBarController tabBar hidden YES 上面的代码隐藏了 tabBar 但我的底部视图不保持交互式 但是当我在导航中推送 viewController
UIView
ios7
UITabBarController
UITabBar
«
1
2
3
4
»