草庐IT

desktop-background

全部标签

iOS UITableView : changing background color of table overrides background color of cells

我遇到一个问题,即设置tableView的背景颜色会覆盖我为各个单元格设置的背景颜色。更具体地说,我有一个包含3行的表格:顶部单元格为深灰色,底部2个单元格为红色:http://imgur.com/otYlFMx,LvoLDzY,tXiJenw#0-(void)tableView:(UITableView*)tableViewwillDisplayCell:(UITableViewCell*)cellforRowAtIndexPath:(NSIndexPath*)indexPath{UIColor*sectionBackgroundColor=[UIColorcolorWithRed:

iOS,ARC : Background thread freezes UI

我有一个UIViewController和一个UITableView作为subview。单击某个单元格时,应显示一个UIImagePickerController。由于初始化时间较长,所以当UIViewController确实出现时,我在后台执行此过程。现在我将ARC添加到我的项目中,但它仍然无法正常工作。初始进程卡住了UI。这是我的代码。-(void)viewDidAppear:(BOOL)animated{[superviewDidAppear:animated];[selfperformSelectorInBackground:@selector(initImagePickerC

iOS:dispatch_get_global_queue QOS_CLASS_BACKGROUND 在 7.1.2 上崩溃

我有以下使用block获取联系人的代码片段:if(&ABAddressBookCreateWithOptions!=NULL){CFErrorReferror=nil;addressBook=ABAddressBookCreateWithOptions(NULL,&error);ABAddressBookRequestAccessWithCompletion(addressBook,^(boolgranted,CFErrorReferror){dispatch_sync(dispatch_get_main_queue(),^{if(error){//...}elseif(!grante

ios - 无法结束 BackgroundTask : no background task exists with identifier 1fd57580, 或者它可能已经结束

AppDelegate.m文件包含-(void)applicationDidEnterBackground:(UIApplication*)application{UIBackgroundTaskIdentifiertaskID=[applicationbeginBackgroundTaskWithExpirationHandler:^{[applicationendBackgroundTask:taskID];}];}我不知道为什么我在gdb中收到这条消息Can'tendBackgroundTask:nobackgroundtaskexistswithidentifier1fd575

ios - 需要 iBeacon locationManager :didEnterRegion to trigger at near physical contact when backgrounded

这是我的挑战。我有一个配置为iBeacon的gimbal系列20,我的目标是让我的用户将他们的手机与应用程序后台的信标保持近距离物理接触。想想苹果支付。我已将发射功率一直设置为-23,但它仍然太强,并且信标正在触发DidEnterRegion委托(delegate)方法,距离可达一英尺。使用测距,我可以通过直接测量rssi来进一步设定阈值。该解决方案在应用程序运行时运行良好。我的问题是这个解决方案在后台运行不可靠,因为它在enterRegion事件后仅运行几秒钟然后停止。有没有办法进一步抑制信标的信号强度或其他方式导致locationManger:DidEnterRegion:触发较低

iphone - iOS : How To Make Static or Fix Background on View Controller

我有2个ViewController,它们的.m文件中都有这段代码:-(void)viewDidLoad{[superviewDidLoad];//Doanyadditionalsetupafterloadingtheview.[self.viewsetBackgroundColor:[UIColorcolorWithPatternImage:[UIImageimageNamed:@"background"]]];}并且我在两个ViewController之间进行了推送转换。所以当它在我的iPod上运行时,它看起来像是第二个背景从右到左插入第一个背景。但这不是我想要的,因为两个View

IOS 核心蓝牙 : App Running in Background When BLE is Disconnected

我试图在BLE断开连接时在后台运行我的应用程序。但是系统会在一段时间后杀死该应用程序。所以我阅读了苹果的文档--《CoreBluetoothProgrammingGuide》。最后我找到了以下内容在“iOS应用程序的核心蓝牙后台处理”中的段落。“PerformingLong-TermActionsintheBackgroundSomeappsmayneedtousetheCoreBluetoothframeworktoperformlong-termactionsinthebackground.Asanexample,imagineyouaredevelopingahomesecuri

ios - Chrome -iOS 7-iPhone : select form element's spinner's background is black

iOS7上的iPhone随处可见可爱的半透明效果。当您在页面底部附近有一个选择元素时,在chrome中除外。选项微调器没有要透明的内容,因此在黑色上是透明的。我做了一个简化的案例http://jsfiddle.net/bXMkb/6/Safari使用白色而不是黑色,效果很好,很明显它在native级别是可变的,有谁知道设置文档外部背景颜色的方法吗?可能带有元标记。 最佳答案 不幸的是,这可能是iOS版Chrome的实现。在这种情况下,微调器控件是nativeUI的一部分。这意味着它遵循UIView的tint属性。据我所知,Chrom

iOS 7 : Delete application with grey background

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎不是关于aspecificprogrammingproblem,asoftwarealgorithm,orsoftwaretoolsprimarilyusedbyprogrammers的.如果您认为这个问题是关于anotherStackExchangesite的主题,您可以发表评论,说明问题可能在哪里得到解答。关闭9年前。Improvethisquestion我在删除灰色背景的应用程序时遇到问题:长按应用程序,选择X标记和“删除”选项什么都不做。也曾尝试通过iTunes进行操作,但没有结果

ios - SC记录器:Record after coming from background

我正在使用SCRecorder用于捕捉藤蔓视频的库。我的问题是从后台返回时我无法重新启动录制session。有没有人有类似经历,求助。我正在使用以下代码重新启动session。它在从另一个View返回时运行良好,但在应用程序进入后台并激活时失败。if(_recorder.isCaptureSessionOpened){[_recorderstartRunningSession:nil];} 最佳答案 我解决了这个问题。在上述方法中再添加一行解决了我的问题。[_recorderpause];