将UIView控制器推送到UITabBar上方

问题描述我有一个UIViewController,叫做ListVC。ListVC有一个UITabBar,用户可以用它来切换选项卡。它还具有UINavigationController。在ListVC中,我有一个按钮,当按下它时(用NavigationController),我想按

发布:2023-01-03 标签:iphoneioscocoa-touchswiftuitabbar


运行Xcode模拟器时出错-'[框架]CUIThemeStore:没有注册id=0'的主题

问题描述我正在开发一个具有单一视图和一些标签的应用程序。该应用程序在viewdidLoad()函数失败,并且不会继续。代码如下所示。overridefuncviewDidLoad(){super.viewDidLoad()locationManager.delegate=self

发布:2022-10-16 标签:ioscocoa-touchswiftcllocationmanagerxcode10


带有语法高亮的 UITextView

问题描述HowtodoSyntaxHighlightinginaUITextView,specificallysyntaxhighlighting(anddetection)forObjective-ContheiPhone?Someofmyideasofhowtodothis:

发布:2022-10-16 标签:iphoneobjective-ccocoa-touchuitextview


您在编写 Objective-C 和 Cocoa 时使用了哪些最佳实践?

问题描述我知道HIG(这很方便!),但是在编写Objective-C时,尤其是在使用Cocoa(或CocoaTouch)时,您使用了哪些编程实践.IknowabouttheHIG(whichisquitehandy!),butwhatprogrammingpracticesdoy

发布:2022-10-16 标签:iphoneioscocoaobjective-ccocoa-touch


如何比较两个 NSDate:哪个是最近的?

问题描述IamtryingtoachieveadropBoxsyncandneedtocomparethedatesoftwofiles.OneisonmydropBoxaccountandoneisonmyiPhone.Icameupwiththefollowing,butIg

发布:2022-10-16 标签:iphoneobjective-ccocoa-touchnsdate


setValue:forUndefinedKey: 这个类不符合键的键值编码

问题描述我正在创建一个登录以查看支持票.第一个视图是工单视图,如果您未登录,则会将您推送到登录屏幕.但是我收到了这个:I'mcreatingalogintoviewsupporttickets.Thefirstviewistheticketview,andifyou'renotl

发布:2022-10-16 标签:cocoaobjective-cxcodecocoa-touch


我如何通过 Foundation 获取星期几?

问题描述HowdoIgetthedayoftheweekasastring?解决方案NSDateFormatter*dateFormatter=[[[NSDateFormatteralloc]init]autorelease];[dateFormattersetDateForma

发布:2022-10-16 标签:iosobjective-ccocoa-touchnsdate


深拷贝一个 NSArray

问题描述Isthereanybuilt-infunctionthatallowsmetodeepcopyanNSMutableArray?Ilookedaround,somepeoplesay[aMutableArraycopyWithZone:nil]worksasdeepco

发布:2022-10-16 标签:cocoaobjective-cdeep-copycocoa-touchnsarray


缩放 MKMapView 以适应注释图钉?

问题描述我正在使用MKMapView并在地图上添加了一些注释图钉,大约5-10公里的区域.当我运行应用程序时,我的地图开始缩小以显示整个世界,缩放地图以使图钉适合视图的最佳方法是什么?IamusingMKMapViewandhaveaddedanumberofannotation

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


如何为视图或图像沿弯曲路径的移动设置动画?

问题描述Iamdevelopingacommerceapplication.WhenIaddanitemtotheshoppingcart,Iwanttocreateaneffectwhereanimageoftheitemfollowsacurvedpathandendsupa

发布:2022-10-16 标签:iphoneiosobjective-ccocoa-touchcore-animation