Insight into How to Ask for App Ratings

I’m going to try this.

https://medium.com/circa/the-right-way-to-ask-users-to-review-your-app-9a32fd604fca

 

 

Posted in General | Leave a comment

Preventing Text Selection in UITextView with Auto Detection On

Here something a little obscure. When your using a UITextView and you want it to detect things like link, phone numbers, addresses and events you must have “Selectable” set to YES. Which is great except, Selectable also means it selects text when all you really want your user to do is tap a link. How do you prevent Text Selection without turning off Selectable?

Here is my take. I created a Category for UITextView but obviously this isn’t totally necessary and I also assumed that you only want this to happen when you also have “Editing” turned off. Which by the way is required for auto detection.

UITextView+Selectable.h

#import <UIKit/UIKit.h>
@interface UITextView (Selectable) @end
UITextView+Selectable.m

#import "TextView+Selectable.h"
@implementation UITextView (Selectable)
//If Editable = NO
//Prevent text selection through double tapping

- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {

    if(self.editable == NO){
        if ([gestureRecognizer isKindOfClass: [UITapGestureRecognizer class] ] && [(UITapGestureRecognizer*) gestureRecognizer numberOfTapsRequired] == 2) {
            if([gestureRecognizer isMemberOfClass:[UITapGestureRecognizer class]]){
                return YES;
            }
            else{
                return NO;
            }
        }
    }
    return [super gestureRecognizerShouldBegin:gestureRecognizer];}
@end

So, all we are doing is checking if a gesture is a double tap and saying NO if it is. As an added bonus we are permitting any double taps we created by testing for the UITapGestureRecognizer class, Apple uses private classes that are kinds of UITapGestureRecognizer. I use the double tap to disable auto detection and turn editing back on.

Hope this is helpful! And as alway, “Your mileage may vary!”

Ken

 

 

 

Posted in General | Leave a comment

iOS 8 Status Bar in Landscape

Maybe this is documented somewhere, but I can’t find it.

On iPhones the default behavior of the Status Bar is to disappear in Landscape Mode.

On the iPad the dafault behavior is to remain showing.

Is this new, I don’t know, I never noticed before if it is not new. So now I need to test iPhone verse iPad  on orientation changes or maybe just tell the program to hide the Status Bar when in landscape mode.

 

Posted in General | Leave a comment

LaunchImage.xib

iOS Developers using iOS 8 and XCode 6. If your using LauchImage.xib and everything is going great until you try and submit an archive and you get the following message:

ERROR ITMS-9000: “Your binary is not optimized for iPhone 5 – New iPhone apps and app updates submitted targeting iOS 6 and above must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image’s filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images.

In XCODE select your app at the top of the directory tree, then select your app name under “Targets”. Scroll down to the “App Icons and Launch Images” section. There under “Launch Image Source” the drop down probable says “Use Asset Catalog”. Click on that and a “Migration” dialog will appear. Select “New Asset Catalog” from that drop down and click on “Migrate”. “Launch Image Source” should change to “LaunchImage” and your done!

Why it isn’t setup this way and where its documented, I have no idea.

As always, your mileage may vary and good luck!

Posted in General | Leave a comment

A Must Read for iOS Developers

A must read for anyone interested in iOS development:

https://medium.com/@jerols/how-hours-became-a-top-grossing-app-c9b5abfcda7f

Posted in General | Leave a comment

Balloon Bounce 1.1

Balloon Bounce 1.1 is out and available on the App Store.

Posted in General | Leave a comment

Icon Dial 5.2

Icon Dial 5.2 is out in the app store. This version fixes the image capture bug that was in 5.1. That version which was out for only a few hours added support for the iPhone 5 with an extra row of icons. The other big upgrade was adding an additional row when turning off ads.

Posted in General | Leave a comment

A Bike Copter

A Bike Copter

Posted in General | Leave a comment

Caw of Doody on Facebook

Please Like the Caw of Doody page:
https://www.facebook.com/pages/Caw-of-Doody/378643285587660

Posted in General | Leave a comment

Caw of Doody

Caw of Doody is a flight game where you are the bird. Fly Carrion Crow (Carri) over the innocent and unsuspecting and drop the gift that keeps on giving! Then share your mischief with your Facebook and Twitter friends.

Caw of Doody is starting out as a single level but with help and encouragement I hope to build out multiple worlds with several levels each.

Demo video:

http://CawOfDoody.com
Like at: https://www.facebook.com/pages/Caw-of-Doody/378643285587660?ref=stream&hc_location=stream
Follow at: https://twitter.com/CawofDoody

Posted in General | Leave a comment