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

Serious iOS Issue with GS1-128 Barcodes

Barcodes with iOSAs you might now I have an dual interest in product barcodes. First, there is my book treating all kinds of barcode symbologies supported by iOS. Second, there is ProductLayer where we are building a crowd-sourced product database via the prod.ly social network.

At first I thought that the problem would only exist for really low quality bar codes (rdar://19438067) but now I found a perfectly good looking specimen that has the same issue: iOS does not recognize it.

Filed as rdar://22048146 and on Open Radar. I am hoping that Apple can fix this issue before iOS 9 is done.

Read more

Radar: Xcode framework for wrong platform

It took me almost an entire day to figure out that the following issue is caused by some indeterministic behavior of Xcode. As a developer, you expect to see the same results if you use the same parameters (i.e. “deterministic”), but this is a situation that sometimes succeeds, sometimes doesn’t.

In DTFoundation I have two targets that produce a DTFoundation.framework, for iOS and OS X respectively. Now the problems seems to be that since I set both to define a module “DTFoundation”, Xcode randomly gets confused during building an iOS app and sometimes might try to build the OS X framework for iOS.

This was filed as rdar://22008701 and on Open Radar. From the looks of things Rob Rix has filed bug report rdar://20490378 that appears to be describing the same issue. If you disable implicit dependency finding in the scheme, the problem also goes away.

Read more

Radar: 2 for the Watch

Unfortunately Runtastic crashes on iOS 9. So I switched to tracking my nordic walks with Apple Watch. This works fine for the most part. But I experienced two issue lately. One of those is quite funny, so I chose to publish the bug reports here as well.

Read more

Radar: ABUnknownPersionViewController

Apple is introducing a new contacts framework in iOS 9. The do so very aggressively to even replace view controllers from AddressBookUI.framework with their new implementations. Unfortunately not without problems.

Normally I am prefer to keep quiet about bugs in iOS beta versions, but this one affects apps public on the app store which are using this view controller and therefore I felt it necessary to warn my iOS developer colleagues about it. This is the crash I was alluding to on iOS Today.

rdar://21357089 – ABUnknownPersionViewController_modern overreleases CNContactViewController
rdar://21438771 – ABUnknownPersionViewController Regression

Read more

Radar: UITextView Scroll Position Bug

Working on an issue that has been reported for Notepad Classic 2007 (currently free on App Store) I found that UITextView has problems keeping the scroll position when showing or hiding the keyboard.

This issue didn’t occur on iOS 7 and I wasted more than 5 hours trying to come up with a workaround. The problem is that showing and hiding the keyboard is causing superflous calls to layoutSubviews on the text view which causes it to change the contentSize and contentOffset. This gets further complicated by UITextView dynamically changing the contentSize as you scroll down through text that is longer than a few pages.

It is rare that I am so confounded by a bug, so I even opened a DTS call for it, hoping that there is a workaround for this problem.

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

Read more

Radar: CLGeoCoder Bug

Fun fact! Sometimes Apple engineers confuse dupes of Radars with the original ones:

Engineering has determined that your bug report (20549548) is a duplicate of another issue (20553126) and will be closed.

And that even though my radar has the zip file with the sample app attached and the alleged original only a reference to my GitHub RadarSamples repo. Oh well… as long as Apple fixes the issue, I am happy to give the win to Peter Steinberger. Fatality!

But, I have one more bug report up my sleeve! A similar issue occurs server-side when using CLGeoCoder, so I filed this as rdar://20665320 and on OpenRadar.

Again, this bug report comes with a beautiful sample app. This is the first bug report sample app I made in Swift. Only took me 4 times as long than if I made it in Objective-C, but a developer’s gotta do what a developer’s gotta do. :-)
Read more

Radar: NSDataDetector Bug

This has been bugging me for quite some time, since some of my address book contacts are affected. NSDataDetector does not properly handle addresses which have more than 2 numbers with one slash.

Previously, this issue was compounded by another issue in the geocoder which would take the apartment number (instead of the street number) for determining the geographic position. To workaround this I had to add another address to some of my contacts that didn’t have the apartment number. This seems to have been fixed in iOS 8.3, but NSDataDetector is still broken.

Filed as rdar://20549548 and on Open RadarRead more

4 Radars: Percentage-driven Modal Transitions

I wanted to add a custom modal transition for the prod.ly app when you tap on a thumbnail image. I wanted to make a tutorial about that as soon as understood interactive transitions, but stumbled over a couple of bugs.

Of these one I would consider quite severe and new as of iOS 8.3, which made it a show-stopper. As long as this bug is present I cannot add an interactive percent-driven dismissal transition to my app.

Read more

Proud Day

I am walking around with a proudly swelled chest. Apple has fixed a bug I filed almost 2 years ago.

Read more

Radar: UIImageView in UIScrollView Compositing Flashing

I filed this Radar already back in December, without a sample. Now an Apple engineer requested that I provided one. So I did.

The problem is that a scrollview misaligns a content image if you pinch-to-zoom causing white lines to appear along the right and bottom edges.

Filed as rdar://19323748 and on OpenRadar.

Read more