ipad-3

UIGraphicsGetCurrentContext() short lifetime

限于喜欢 提交于 2019-12-19 10:11:41
问题 I have a view which implements freehand drawing, but I have a small problem. I noticed on the iPad 3 that everything went to hell, so I tried to update my drawing code (probably as I should have done in the first place) to only update the portion that was stroked. However, the first stroke after open, and the first stroke after about 10 seconds of idle are extremely slow. After everything is "warmed up" it is smooth as butter and only takes about 0.15ms per drawRect. I don't know why, but the

iOS6 crash <Error>: libMobileGestalt copySystemVersionDictionaryValue

回眸只為那壹抹淺笑 提交于 2019-12-11 10:19:26
问题 I'm stucked over one week I cant figure it out why my app crashed only in IPAD3 ios6.0.1, all other ipads does not crash, my app uses a lot of memory because it downloads a lot of contents and uses also a lot of webviews, here is the crash log: iPad-3 backboardd[51] <Warning>: BKSendGSEvent ERROR sending event type 23: (ipc/send) invalid destination port (0x10000003) iPad-3 backboardd[51] <Warning>: BKSendGSEvent ERROR sending event type 23: (ipc/send) invalid destination port (0x10000003)

UIImageWriteToSavedPhotosAlbum does not work in iOS 6 iPad 3

对着背影说爱祢 提交于 2019-12-10 02:04:06
问题 I'm using the next function to save photos in my app: UIImageWriteToSavedPhotosAlbum(pngImage, self, @selector(image:didFinishSavingWithError:contextInfo:), NULL); It works well on iOS 5.1.1 devices, and iPod/iPhone iOS 6.0 devices. But strangely photo saving doesn't work on iPad 3 with iOS 6.0 and returns the following error: Error Domain=ALAssetsLibraryErrorDomain Code=-3310 "Data unavailable" UserInfo=0x1cd6afc0 {NSLocalizedRecoverySuggestion=Launch the Photos application,

UIImageWriteToSavedPhotosAlbum does not work in iOS 6 iPad 3

 ̄綄美尐妖づ 提交于 2019-12-05 01:36:32
I'm using the next function to save photos in my app: UIImageWriteToSavedPhotosAlbum(pngImage, self, @selector(image:didFinishSavingWithError:contextInfo:), NULL); It works well on iOS 5.1.1 devices, and iPod/iPhone iOS 6.0 devices. But strangely photo saving doesn't work on iPad 3 with iOS 6.0 and returns the following error: Error Domain=ALAssetsLibraryErrorDomain Code=-3310 "Data unavailable" UserInfo=0x1cd6afc0 {NSLocalizedRecoverySuggestion=Launch the Photos application, NSUnderlyingError=0x1cdaa140 "Data unavailable", NSLocalizedDescription=Data unavailable} Did anybody encounter this

iPad 3 renderInContext slow - Bad rendering performance

孤人 提交于 2019-12-04 12:01:40
问题 I am trying to get an image out of a view where a user can paint on, or add some other views. With the iPad1 & 2 everything is working fine so far. But on the iPad3 it runs like a dog. I am just using the layers renderInContext method. if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) UIGraphicsBeginImageContextWithOptions(self.viewDrawableViewContainer.frame.size, NO, [UIScreen mainScreen].scale); else UIGraphicsBeginImageContext(self.viewDrawableViewContainer.frame.size);

Dismissing a UIDocumentInteractionController in some cases will remove the presenting view controller's views in IOS 7 iPad

耗尽温柔 提交于 2019-12-03 06:25:36
When the UIDocumentInteractionController is dismissed, the presenting view controller's views are removed, including elements from the UINavigationController. The UIDocumentInteractionController dismisses and the presenting view controller's views are removed, leaving a plain white/gray box where the presenting view controller formerly existed. The app no longer responds to any touch events after this point. This Occurs on iPad Simulator (iOS 7.0) and iPad 3 (Wifi) running iOS 7 for Quick Look Pdf Reader. Does not matter whether the application was compiled against the iOS 6.1 or iOS 7 SDK

UIGraphicsGetCurrentContext() short lifetime

隐身守侯 提交于 2019-12-01 10:28:39
I have a view which implements freehand drawing, but I have a small problem. I noticed on the iPad 3 that everything went to hell, so I tried to update my drawing code (probably as I should have done in the first place) to only update the portion that was stroked. However, the first stroke after open, and the first stroke after about 10 seconds of idle are extremely slow. After everything is "warmed up" it is smooth as butter and only takes about 0.15ms per drawRect. I don't know why, but the whole view rectangle is getting marked as dirty for the first drawRect, and the first drawRect after

Issue scrolling div with Safari on iPhone 6+, iPad 3 when zoomed in

人走茶凉 提交于 2019-11-30 07:39:23
问题 It seems that on iPhone 6+ and iPad 3 (devices I've tested so far which reproduce issue) there is an issue with scrolling a div when the page is zoomed in. When first loading a page with the following basic content, the div has no problem scrolling. Reproduction Zoom page in a bit so that scale is greater than 1.0. This seems to more often than not 'disable' scrolling for the div either completely or for the most part. The page itself scrolls or 'bounces'. Zoom back out to 1.0 scale and it

How to get current orientation of device programmatically in iOS 6?

允我心安 提交于 2019-11-29 11:07:58
问题 I have developed an iOS App and tested it on iOS6 device. While testing, I realized that my App is not responding to Orientation changes as expected. Here is my Code: // Autorotation (iOS >= 6.0) - (BOOL) shouldAutorotate { return NO; } - (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskAll; } - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { return UIInterfaceOrientationMaskPortrait; } Precisely, I want to know that what Methods are called

The New iPad: Low Memory Warnings Not Appearing?

那年仲夏 提交于 2019-11-27 11:49:15
问题 I have been developing an application for iPad that is very graphically intensive. I have been able to squeeze quite a bit of performance out already on the iPad 2, but the @2x graphics for the new iPad are packing quite the punch in the memory department. Using the Activity Monitor in Instruments I am able to see the size of my application mushrooming into the 300MB-400MB range but I do not receive any low memory notifications. I am using a UINavigationController to manage my views, so