iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

How to use UIVisualEffectView?

Could someone give a small example of applying the blur to an image? I’ve been trying to figure out the code for a while now 🙁 still new at obj c! The UIVisualEffectView provides a simple abstraction over complex visual effects. Depending on the desired effect, the results may affect content layered behind the view […]

iOS – Get CPU usage from application

Does anyone know how to obtain CPU usage for an application? It’s definitely possible, because there are application in app store (Activity Monitor Touch) which can show it.

Why shouldn't I subclass a UIButton?

I’ve asked a few questions on stack overflow about subclassing a UIButton, and a couple of people have informed me that I shouldn’t subclass a UIButton. What are the negatives of subclassing a UIButton? And I know it’s vague, but what are other alternatives to subclassing a UIButton?

How to customize the callout bubble for MKAnnotationView?

I’m currently working with the mapkit and am stuck. I have a custom annotation view I am using, and I want to use the image property to display the point on the map with my own icon. I have this working fine. But what I would also like to do is to override the default […]

How to get list of available Bluetooth devices?

I’m currently creating an iPhone app (Xcode 4.3.1, IOS 5) that could use Bluetooth devices! Main goal of this application is indoor navigation (GPS inside buildings isn’t really accurate). The only solution I see here (to keep my app on AppStore) is to try scan for available bluetooth devices! I tried to use CoreBluetooth framework, […]

iPhone: How do I get the file path of an image saved with UIImageWriteToSavedPhotosAlbum()?

I’m saving a merged image to the iPhone photo library using: UIImageWriteToSavedPhotosAlbum(viewImage, self, @selector(savedPhotoImage:didFinishSavingWithError:contextInfo:), nil); And getting the callback using: – (void) savedPhotoImage:(UIImage*)image didFinishSavingWithError:(NSError *)error contextInfo: (void *)contextInfo { NSLog(@”%@”, [error localizedDescription]); NSLog(@”info: %@”, contextInfo);} What I would like to get is the path for where the image has been saved, so I can add […]

Non-English default language for iOS App?

I am developing an app for a client in Europe. I am an English-speaker in the US. Our app is going to support a number of languages, but not English. I have all the strings in our app in translated Localized.strings files, set up correctly for the different languages, and they all work fine when […]

iOS – Merging two images of different size

I’m facing the following problem : I have to merge two images A and B to create a new image C as a result of the merging. I already know how to merge two images but in this case my goal is a little bit different. I would like that image A will be the […]

Check for internet connection availability in Swift

Is there a way to check if the internet connection is available using Swift? I know there are many third party libraries to do this but they are all written in Objective-C. I’m looking for a Swift alternative.

Force link to open in mobile safari from a web app with javascript

When calling window.open() in a iOS web app, the page opens in the web app instead of mobile safari. How can I force the webpage to open in mobile safari? Note: Using straight <a href> links is not an option.