If you have tried Restarting Xcode, iPhone, computer Cleaning & rebuilding Revoking and creating new certificate/provision profile Runpa...
Friday, February 26, 2016
How to log a method's execution time exactly in milliseconds?
If you want to use in coding style, then use these statements, NSDate * methodStart = [ NSDate date ]; /* ... Do whatever you need to...
Assign a variable inside a Block to a variable outside a Block
You need to use this line of code to resolve your problem: __block Person * aPerson = nil ; For more details, please refer to this tutoria...
Remove all the subviews from a UIScrollView?
Let scrollView be an instance of UIScrollView . In Objective-C, it's pretty easy. Just call makeObjectsPerformSelector: , like so: O...
Is there a way to remove the separator line from a UITableView?
You can do this with the UITableView property separatorStyle . Make sure the property is set to UITableViewCellSeparatorStyleNone and y...
Monday, February 15, 2016
iOS - How to get device make and model?
EITHER try this library: http://github.com/erica/uidevice-extension/ (by Erica Sadun). (Sample Code): [[UIDevice currentDevice] platformTyp...
iPhone : Add animated Gif image in Iphone UIImageView in Objective c
If you have a gif image and you want to show it in UIImageView, then one method is to split all images from gif and use startAnimation metho...
iPhone : How to insert utf-8 mb4 character(emoji in ios5) in mysql?
4 byte Unicode characters aren't yet widely used, so not every application out there fully supports them. MySQL 5.5 works fine with 4 by...
How to access website hosted on IIS of a virtual machine?
If you set the virtual addaptor to bridged mode this will give the virtual machine an IP address from your DHCP server (if you have one). tr...
How to create a simple 'EqualityComparer' using a lamba expression
What about a throw away IEqualityComparer generic class ? public class ThrowAwayEqualityComparer < T > : IEqualityComparer < T ...
SQL to UPDATE and REPLACE part of a string
If you have a table with one field as string and you want to replace a part of string in all rows then use this query UPDATE dbo . xxx SET...
Ajax Not working in IOS 9.0 Cordova
As far as i understood the whole ATS (App Transport Security - iOS 9) thing, the recommended method from area28 should not be the one you...
Apple : This certificate has an invalid issuer keychain
To fix this issue, Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and double-click to install to Keychain. Sel...