BuySellAds.com

If you like my tutorials, you will love my book . It is chockful of advanced programming techniques and the only comprehensive barcode reference for serious iOS developers.
Our DNA is written in Objective-C
Jump

Category Archive for ‘Bug Reports’ rss

Radar: Search Bar jumps around and disappears

iOS 8 might be around the corner and things like this are probably fixed. Still, that does not mean you shouldn’t file your grievences. On this Radar Apple is getting two bug reports for the price of one.

Filed as rdar://16938543 and on Open Radar.

Read more

Radar: Support testing of region monitoring in Simulator

A bit of an annoyance when trying to implement geographic region monitoring.

Filed as enhancement request as rdar://16924908 and on Open Radar.

Read more

Radar: Add global prototype cells

If you like storyboards you might be wanting to use them for larger apps too. But there is source of frustration for us developers. If you have prototype cells that are identical on multiple table view controllers you cannot easily copy them. I filed a feature suggestion for adding global prototype cells.

Filed as rdar://16754279 and on Open Radar.

Read more

Radar: AV Foundation wastes energy processing Audio even if not captured

For my book I wanted to see if there is a way to see the performance impact of various settings. So I launched the Energy Diagnostics instrument for the first time. I was not able to conclusively demonstrate the impact of any capture setting, but I did see something odd. Even though my barcode scanner sample app does not have any need for audio data AV Foundation appears to insist on capturing and processing it.

As the energy diagnostics performance instrument indicates, this causes energy usage for “Audio Processing” even though for the purpose of scanning barcodes audio is not needed. In the least developers should be able to indicate to iOS that they have no use for audio processing so that the system can conserve this energy.

This bug report is filed as rdar://16389364 and on Open Radar.

Read more

Radar: Make Aztec and PDF417 Core Image generators public

There are 3 generators in Core Image for 2D barcodes, but only the one for creating QR codes is documented. So I filed a bug report suggesting that the documentation was “missing”. I also sent an email to the responsible Apple evangelist.

The response I got from Apple was that if something was not documented it is to be considered private. The bug report about adding the documentation for Aztec and PDF417 was closed.

Read more

Radar: Aztec and PDF417 Core Image Generators documentation missing

While researching for my book “Barcodes and iOS” I was looking at the CoreImage generators for barcodes. iOS 7 supports generating QR, Aztec and PDF417 barcodes via CoreImage generators.

But for the latter two the documentation appears to be missing, making those – technically – private APIs. I believe this to be something that was simply overlooked, since those generators seem to work just fine.

Filed as rdar://15989297 and on Open Radar.

Update: An Apple evangelist responded to my inquiry and confirmed that those CI generators are indeed private API and should not be used.

Read more

Passbook Event Ticket Relevancy Issues

While experimenting with PassKit I found some weird behavior which I believe might be a bug, or two.

Passes can have a date and locations where they are relevant.  For event tickets – according to the documentation – the locations are optional. You expect to see passes to appear on the iOS lock screen from some time before the event until it starts.

Read more

Radar: Accessibility-based Tools crash app running in iOS 7 Simulator

This bug in iOS Simulator is interesting because it is the first bug we found where a crash in a simulated iOS app can be triggered by having a Mac app using Accessibility running outside of the simulator. I filed it and am reporting on this here because I’ve gotten this as issue on my project now two times.

Submitted as rdar://15478255 and to OpenRadar.

Read more

Radar Double Feature: Xcode Crash and Unit Test with UIFont

While working on unit tests for DTCoreText I stumbled upon an issue that has two aspects, one for how you set up unit tests and the other is a crash that is new as of Xcode 5.0.1.

Consider this simple unit test:

- (void)testExample
{
   UIFont *font = [UIFont fontWithName:@"Helvetica"
                                  size:20];
   STAssertNotNil(font, @"font should not be nil");
}

I consider it esoteric knowledge that you have to have a test host in place if you want to instantiate a UIFont inside a unit test. This is why I am filing it as a bug report, since it “might lead to developer confusion”.

In the least this should be documented somewhere. You will also find a description of a minimalistic workaround for both issues.

Read more