本地声明“x"隐藏实例变量 xcode 警告

问题描述我一直无法理解这个问题.如果我更改变量名称FifthViewController错误消失但视图控制器不加载.I'vebeenhavetroubleunderstandthisproblem.IfIchangethevariablenamefifthViewControll

发布:2022-10-16 标签:iphoneinstanceuinavigationcontroller


禁用后退按钮并将取消按钮放在导航视图控制器中 - 就像联系人 iPhone 应用程序

问题描述我有一个导航视图控制器,导航堆栈中有3个视图控制器.现在在第三个也是最可见的视图控制器上,我有一个默认的后退按钮.Ihaveanavigationviewcontrollerandthereare3viewcontrollersinthenavigationstack.N

发布:2022-10-16 标签:iphoneiosobjective-ccocoa-touchuinavigationcontroller


在 pushViewController 之前设置视图控制器属性

问题描述在我的应用程序中,我为视图添加了标签,将其连接到插座,但当我第一次从另一个视图控制器分配此插座然后调用pushViewController以显示它时,什么都没有显示.这是推送下一个显示标签的视图之前的代码:InmyappI'veaddedalabeltoaview,con

发布:2022-10-16 标签:iphoneiosios4uinavigationcontrolleruiviewcontroller


水平分隔符导航栏 IOS 7

问题描述我已经包含了对导航栏(navigationController)的需求,该导航栏(navigationController)与栏viewController的背景色调相同......现在我遇到了一个问题......在导航栏和视图之间我有一条将它们分开的水平线,从图片中可以

发布:2022-10-16 标签:ios7uinavigationcontrolleruiviewcontroller


iOS 8 Swift 导航栏标题,按钮未显示在基于选项卡的应用程序中

问题描述我正在尝试遵循本教程,这个答案和thisanswer为我的每个标签创建导航栏在iOS8/Swift中基于选项卡的应用程序中,但我的导航栏上没有显示标题或按钮.Iamtryingtofollowthistutorial,thisanswer,andthisanswertoc

发布:2022-10-16 标签:iphoneiosswiftuinavigationcontrolleruitabbarcontroller


如何创建像 BestBuy App 这样的自定义导航栏?

问题描述我想制作一个自定义导航栏,就像在BestBuy应用程序中一样,或者像下面给出的屏幕截图中显示的那样.IwanttomakeacustomnavigationbaraslikeintheBestBuyApporlikeshowninthebelowgivenscreensh

发布:2022-10-16 标签:iosobjective-cuinavigationcontrolleruinavigationbar


加载 MKMapView 时崩溃

问题描述我在加载MKMapView时遇到了奇怪的崩溃.发生的模式是当我在一个视图中打开ABPeoplePickerNavigationController时,这又会触发UINavigationController委托方法Iamhavingapeculiarcrashwhenloa

发布:2022-10-16 标签:iphoneiosios7uinavigationcontrollermkmapview


子类化 UINavigationBar ...如何在 UINavigationController 中使用它?

问题描述我想继承UINavigationBar(设置自定义背景图像和文本颜色)并将其用于我应用程序中的所有导航栏.查看UINavigationController的API文档,看起来navigationBar是只读的:IwantedtosubclassUINavigationBa

发布:2022-10-16 标签:iphoneuinavigationcontrollersubclassinguinavigationbar


调用 initWithNibName 不会初始化笔尖中的项目,它有 0x0

问题描述当我打电话时:self.viewController=[[DidItViewControlleralloc]initWithNibName:@"DidItViewController"bundle:nil];然后我在调试器中执行此行后立即检查self.viewContro

发布:2022-10-16 标签:iphoneuinavigationcontrollernib


如何在推送的视图控制器下方弹出视图控制器?

问题描述我想将一个视图控制器压入堆栈,然后弹出第一个压入新的视图控制器.Iwanttopushaviewcontrollerontothestack,thenpopthefirstonethatpushedthenewone.-(void)someMethod{MegaSuper

发布:2022-10-16 标签:ipadiphoneipoduinavigationcontrolleruiviewcontroller