All posts by admin
“Warning: Attempt to present on while a presentation is in progress!”
“Warning: Attempt to present <CDVInAppBrowserViewController: 0x1ed97060> on <MainViewController: 0x1ed64730> while a presentation is in progress!” I was getting this issue when i opened an InAppBrowser on an iOS device. When this happened the InAppBrowser would not actually load. The solution to this is to wrap the window.open call in a setTimeout setTimeout( function() { var […]
Undefined symbols for architecture i386 – Reachability
Today I add the Reachability classes to an app I am working on, added my #import Reachability.h to the correct files and then implemented a method to check if the device was using wifi. When I hit build, I got the following error. Undefined symbols for architecture i386: “_SCNetworkReachabilityCreateWithAddress”, referenced from: +[Reachability reachabilityWithAddress:] in Reachability.o […]
Push Notifications for iOS Apps – PushWoosh
I came across a service for push notifications, probably a bit late to the table but I have only just needed push notifications in my apps. Being a web developer my original idea was to host the service on my hosting and then that way I would be able to send as many notifications as […]
Using Current location in Apple Maps
I was updating one of my iOS apps that used to open up the Maps Application to show directions from the current location to a set of coordinates. Before Apple Maps was introduced we could use “Current Location” as a way for Maps to use the users current location (http://maps.google.com/maps?saddr=Current%%20Location&daddr=51.535455,-0.247557) this no longer works in […]
Add a custom font to iOS app
I recently needed to add a custom font to my iOS app as the standard ones didn’t work for what I wanted. I downloaded a .ttf file, (I used www.dafont.com) and copied it into my Xcode project. The next step is to open your project’s Info.plist and add a new key “Fonts provided by application” […]
purgeIdleCellConnections: found one to purge conn iOS error
I received this error when I plugged my iPhone 5/iOS 6.1.2: purgeIdleCellConnections: found one to purge conn I did a quick google search for this and found that there was a lot of people that had the same issue. One of the results I found was from a Technical Q/A on the Apple Developer iOS site: […]
UILabel blurry on some views
I recently noticed that in one of my apps I’m working on, some of the UILabels I was using were blurry. This was only obvious on non-retina devices. After a bit of research I found that it was down to using floating numbers to define the frame of the label. Basically, floating numbers use decimals […]
Git pull and push asks for username and password every time
I recently rebuilt my computer and cloned a git repository that I had been working on. Once I started working on the project again, I realised that every time I was executing a pull or push command in git bash it would ask me for my username and password whereas before it used to only […]
Can’t access specific website on Mac
I recently encountered a problem with a website I was working on. I stopped being able to access the site. All my browsers were not able to connect to the server. I was able to access all other sites that I needed. I contacted the host of the website and requested that they check my […]
iOS Navigation Bar behind status bar after closing full screen MPMoviePlayer
I had a problem with an iOS app I am creating. I have a view that has a UINavigationBar at the top and a table view that displays a full screen video on didselectrowatindexpath. Once the video is playing if the device is rotated and the done button is pressed the video will disappear but the […]