ios6

iOS 6 Safari backgrounds missing

核能气质少年 提交于 2019-12-28 16:12:08
问题 I have been digging through the questions and search engines, but likely it is just too early for the answers to have been indexed or found. Anyway, when I was working with one of my projects, suddenly many of the background images stopped showing. This occurred after upgrading to iOS 6 on the iPad. As an example: <td style="background-image:url(https://mysite.com/_itemg_ver1.png); background-repeat:repeat-x; height:24px; width:100px;">Some content</td> It is likely something stupid since not

How to create and save EKCalendar on ios 6

前提是你 提交于 2019-12-28 05:30:30
问题 I'm having an issue where I create my EKCalendar and everything looks good but then when I go to list my calendars, it doesn't show up. I also go to check my calendar list in my calendar app but it is non existant. Any thoughts? Here is my button code to create my calendar: - (IBAction)one:(id)sender { NSString* calendarName = @"My Cal"; EKCalendar* calendar; // Get the calendar source EKSource* localSource; for (EKSource* source in eventStore.sources) { if (source.sourceType ==

Log Messages I didn't asked for in Xcode 4.5 with iOS 6.0

此生再无相见时 提交于 2019-12-28 04:54:06
问题 since I updated Xcode to Version 4.5 and started building for iOS 6 log messages like this keep appearing: ADDRESPONSE - ADDING TO MEMORY ONLY I never asked for that (at least not consciously). What do I need to do to stop these messages ? And what is their origin ? 回答1: I'm experiencing the same issue, the message is being issued from the CFNetwork framework, this happens both on device and in the iOS simulator. Specifically running strings on CFNetwork shows: ADDRESPONSE - not adding TO

Zbar SDK is not working in iOS6

隐身守侯 提交于 2019-12-28 04:49:06
问题 I was using ZBar for scanning in iOS5 and it was working well. Now after updating to iOS6, its not working. It shows a following error. ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/mac4/Desktop/my desktop/My app/MyApp name 20:09:12 /MyApp name/ZBarSDK/libzbar.a for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) What is wrong in my side? 回答1: i recently faced the same issue. The problem seems to be that the

Application windows are expected to have a root view controller at the end of application launch - even with all known issues fixed

拜拜、爱过 提交于 2019-12-28 04:19:32
问题 I have this problem, however none of the information I can find on this forum or the internet in general seems to be able to help me. There seem to be two places where this error can come about: main.m - my function looks like this: int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } The last argument in UIApplicationMain returns an NSString value of the class of my AppDelegate . This is therefore working

ios6 touch event handling javascript

安稳与你 提交于 2019-12-25 18:56:06
问题 I am trying to improve the touchwipe js. where i want to hanlde only horizontal scroll and if its any vertical scrolling comes up let browser handle my fix works fine in ios5 but in ios6 its getting frezee any idea ? http://archive.plugins.jquery.com/project/Touchwipe-iPhone-iPad-wipe-gesture Please find code following function onTouchMove(e) { //var e = (e.changedTouches != undefined)? touches[0] : e; if(isMoving) { var x = e.touches[0].pageX; var dx = startX - x; if(Math.abs(dx) >= config

Drawing overlay view on top of a web view

二次信任 提交于 2019-12-25 18:48:08
问题 I am trying to make an app that can annotate PDFs. What I have done, is add the PDF through a UIWebview, so my main UIViewControllerhas a UIWebView Delegate. What I am trying to do is put my drawing layer, which is a UIView over the top of my PDF view. I have tried setting the background colour to "clearColour" and the opaque property to no, I still get a weird affect. I think the issue might be because of drawing a bitmap onto the UIView, but I would still like some insight, or an example if

Hide activity indicator in status bar [duplicate]

馋奶兔 提交于 2019-12-25 17:07:16
问题 This question already has answers here : networkActivityIndicatorVisible (5 answers) Closed 6 years ago . I am using pull to refresh table and in pull to refresh table there is already a activity indicator. And when I pull the table then calling a web service then the activity indicator in status bar appears, but I want to hide the indicator in status bar in whole app. When I am connecting with webservice even then I don't want to show the network indicator. How can I do this? I am using

Strange crash when I try to access to uibutton's titleLabel property (xcode 4.5 and IOS sdk 6.0)

孤者浪人 提交于 2019-12-25 15:25:00
问题 I found another annoying bug with xcode 4.5 and sdk 6.0 : when I run the following code : UIColor *newcolor = [UIColor colorWithCIColor:[CIColor colorWithString:@"1 1 1 1"]]; [button setTitleColor:newcolor forState:UIControlStateNormal]; UILabel *lbl = selectedbutton.titleLabel; It always fail with the error : -[UICIColor colorSpaceName]: unrecognized selector sent to instance 0xa9864f0 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UICIColor

Strange crash when I try to access to uibutton's titleLabel property (xcode 4.5 and IOS sdk 6.0)

感情迁移 提交于 2019-12-25 15:24:41
问题 I found another annoying bug with xcode 4.5 and sdk 6.0 : when I run the following code : UIColor *newcolor = [UIColor colorWithCIColor:[CIColor colorWithString:@"1 1 1 1"]]; [button setTitleColor:newcolor forState:UIControlStateNormal]; UILabel *lbl = selectedbutton.titleLabel; It always fail with the error : -[UICIColor colorSpaceName]: unrecognized selector sent to instance 0xa9864f0 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UICIColor