How to cancel UIView block-based animation?

You can stop all animations on a view by calling: [view.layer removeAllAnimations]; (You’ll need to import the QuartzCore framework to call methods on view.layer). If you want to stop a specific animation, not all animations, your best best bet is to use CAAnimations explicitly rather than the UIView animation helper methods, then you will have … Read more

Developing cross platform mobile application [closed]

My answer here covers some of the technical limitations of cross-platfrom tools but let me expand a bit: I think that cross-platform tools have historically always been also-rans because such tools have the wrong philosophical focus. All the selling points for cross-plaform tools are the benefits they bring to developers. They are sold on the … Read more

No suitable application records were found

I’ve just been through the same problem and resolved it quite easily. Through iTunes Connect the app has to be in the state of ‘waiting for upload’. At first I thought ‘prepare for upload’ was sufficient but not so. Thus you need to go through the questions about have you changed encryption and how you … Read more

Disabling user selection in UIWebView

Here are a few ways to disable selection: Add the following to your mobile web documents <style type=”text/css”> * { -webkit-touch-callout: none; -webkit-user-select: none; /* Disable selection/copy in UIWebView */ } </style> Programmatically load the following Javascript code: NSString * jsCallBack = @”window.getSelection().removeAllRanges();”; [webView stringByEvaluatingJavaScriptFromString:jsCallBack]; Disable the Copy / Paste user menu: – (BOOL)canPerformAction:(SEL)action withSender:(id)sender … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)