My Package 1.2.0 is approved and hit on the App Store now. Most important update is iOS 4.2 support. Apple changed the behavior around Map component and it broke app’s location mapping feature. It took some time to understand what was going on but I think mapping feature is now working again on iOS 4.2 devices.
My Package 1.1.2
My Package 1.1.2 is approved and hit on the App Store now. With this version, you will see warning message instead of pointing south west of Africa. Also I fixed multiple minor issues in this release. The application must be more stable now.
My Package 1.1.1
My Package 1.1.1 is just out. This is minor update to fix small bugs. I am also working on fixing showing up package in south west of Africa in some cases. The fix will be in 1.1.2 which is coming in a week or two.
How to switch the code/build for the device or simulator
“My Pacakge” uses AdMob library but AdMob library is not compatible with iOS 4 simulator (so many linking error occurrs). I found the way to avoid these errors in the apple document. Switching code with preprocessor macros is the answer.
My Package 1.1.0
My Package 1.1.0 is just out! It includes the fix for the major reason of application crash in 1.0.0. And it also improvs package location mapping algorithm.
How to trigger MKAnnotationView’s callout view without touching the pin? – Stack Overflow
But there is a catch to get benvolioT's solution to work, the code
for (idcurrentAnnotation in mapView.annotations) { if ([currentAnnotation isEqual:annotationToSelect]) { [mapView selectAnnotation:currentAnnotation animated:FALSE]; } }
Functions for CGRect
In the cocoa (cocoa touch) framework, CGRect structure are used in many places because its rendering system depends on Core Graphics library. Here are the useful functions for CGRect structure.
How to change the carrier name in the iPhone simulator
iPhone simulator shows “Carrier” as default carrier name. You can change this name whatever text you want.
Open URL from application
Pretty simple. This call terminates the application and starts Mobile Safari browser with specified URL.
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"http://www.apple.com/"]];