ios6

iOS6 large downloads time out

廉价感情. 提交于 2019-12-09 19:24:29
问题 It seems like all large downloads timeout on iOS6 using ASIHTTPRequest. Does anybody know of any forks that have updated this library for iOS6. I love this library and really do not want to have to switch. EDIT: This issue is not specific to ASIHTTPRequest. Upon testing FSNetwork, MKNetwork, AFNetwork, and NSURLConnection they all fail. A sample project can be downloaded from here: https://github.com/BLamy/NetworkTest It must be built to an actual device running iOS6 (I used an iPad2 unsure

Performance issues with MapKit on iOS6

送分小仙女□ 提交于 2019-12-09 18:40:29
问题 After updating to iOS 6 I have noticed sever performance decreases when panning or zooming a MKMapView with multiple overlays. An app I created has approximately 600 polygon overlays of various colours, and ran lag-free (even on older iOS devices) on iOS 5, now runs extremely laggily (when zooming & panning) on iOS 6, even on the latest devices. My hunch is that this is due to the fact the device has to actually dynamically create the map (since its vector based) rather than just display

iOS 6 - Handle iPhone 5 screen size without Default-568h@2x.png

两盒软妹~` 提交于 2019-12-09 15:54:22
问题 We are working on a game, that renders a couple splash screens while loading. So we are not using Default.png or Default@2x.png, because it makes sense for the screen to be blank on startup. So how to do you get iOS 6 in the iPhone 5 simulator to render our game full screen without the splash screen image mentioned here? Do we just need to think about using splash screen images? Is it the only way? I would think there should be something you can turn on in Info.plist . We would still prefer

isAvailableForServiceType always returns true?

↘锁芯ラ 提交于 2019-12-09 15:23:39
问题 Simple line of code: NSLog(@"Checking on Facebook: %d -- Checking on Twitter: %d",[SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebook], [SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter]); Problem is that I'm getting 1 for both BOOLs. That's a problem because neither Twitter nor Facebook is setup with an account. This is on the simulator, so wondering if people have experienced this is happening on devices as well? Documentation says that it should

NSInvalidUnarchiveOperationException with ContainerView

时间秒杀一切 提交于 2019-12-09 14:50:02
问题 Using a ContainerView with an embed seque I'm getting this: * Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardEmbedSegueTemplate' My searches didn't provide a lot, so: Does this mean "Sorry, only on iOS6" ? 回答1: Yes, this really seems to be a "iOS 6 only"-feature. I did not see it in iOS 5 either... But didn't find it in the Docs so far. 来源: https://stackoverflow.com/questions/12868255

iOS6.1: Problems while trying to access WiFi RSSI (MobileWiFi.framework)

流过昼夜 提交于 2019-12-09 13:39:49
问题 I'm trying to access the RSSI values of several APs around me using an iPod Touch 4G with iOS6.1 and Xcode 4.6.3 with a valid Provisioning Profile. I've read some discussions about this topic and the best way to do this seems to be using the private Framework MobileWifi. Since this project is for private usage only I'm ok with that. According to this website I need a special entitlement in order to access the MobileWiFi functions. I've never worked with entitlements before, but according to

UIButton touch up inside event not working in ios5 while it's ok in ios6

假装没事ソ 提交于 2019-12-09 11:10:38
问题 I had a project which contains lots of UIButton, using xcode 4.5 and storyboard and ARC. after testing in ios6, everything goes fine. But in ios5, UIButton touch up inside event not working, the action not called. I tried to use touch down and it works. However, I have a lot of UIButton, I cannot change that one by one. what's more, the touch down event does give a good experience. I used code below in many of my view controllers: in viewDidLoad: UITapGestureRecognizer *tap = [

how to get the cell value of a selected cell from Table view in iPhone

无人久伴 提交于 2019-12-09 11:10:30
问题 Am displaying images in a table view controller where the images are rendered from the URL as XML file. It works well with listing images as scroll view. Now i want to select a particular image and the window should show the selected Cell images alone. For this do i need to get the Cell value. If so how can i get the particular cell value and display its corresponding images as a collection view in next window. Kindly suggest me an idea. For your better understanding i pasted below an image

Request to web service over SSL

此生再无相见时 提交于 2019-12-09 10:23:59
问题 i am struggling to request web service using https. I am getting this kind of error: An error occured : The certificate for this server is invalid. You might be connecting to a server that is pretending to be “SERVER_ADDRESS” which could put your confidential information at risk. I am not using NSUrlConnectionDelegate. Here is my method: - (void)sendRequestWithUrl:(NSURL*)url block:(void (^)(NSDictionary *dict, NSError *error)) block{ NSMutableURLRequest *request = [NSMutableURLRequest

iOS6 : How to use the conversion feature of YUV to RGB from cvPixelBufferref to CIImage

旧巷老猫 提交于 2019-12-09 10:03:40
问题 From iOS6, Apple has given the provision to use native YUV to CIImage through this call initWithCVPixelBuffer:options: In the core Image Programming guide, they have mentioned about this feature Take advantage of the support for YUV image in iOS 6.0 and later. Camera pixel buffers are natively YUV but most image processing algorithms expect RBGA data. There is a cost to converting between the two. Core Image supports reading YUB from CVPixelBuffer objects and applying the appropriate color