How to Add a Run Script Build Phase in Xcode Step – 1 : Click on Project icon Step – 2 : click on Edit scheme you can add script in run/archive/debug time application Step – 3 : Click on Run DropDown Step – 4 : …


How to Add a Run Script Build Phase in Xcode Step – 1 : Click on Project icon Step – 2 : click on Edit scheme you can add script in run/archive/debug time application Step – 3 : Click on Run DropDown Step – 4 : …

The Search API allows you to place search fields in your website to search for content within the iTunes Store and Apple Books Store. You can search for a variety of content; including books, movies, podcasts, music, music videos, audiobooks, and TV shows. To search …
1. Add MTImageMapView.h and MTImageMapView.m file in Project 2. Add BridgeHeader File #import “MTImageMapView.h” 3. Add Custom Class MTImageMapView in UIImageView 4. Add Image and Coordinate .plist file in Project coordinate file added to image different coordinate location 4. Outlet of UIImageVIew @IBOutlet weak var imgView: MTImageMapView! var …
Collection view auto scroll Data Like (Slider) Collection view scroll automatically next page every 3.0 seconds First Outlet Of CollectionView @IBOutlet weak var cvWeeklyDeals: UICollectionView! 2. creating Timer to call every 3.0 seconds call to method func startTimer() { let timer = Timer.scheduledTimer(timeInterval: 3.0, …
As a solution i found that we need to transform our UITableview. So all the contents in the UItableview are transformed. You need to transform Cell, You need to implement header instead of footer and vice-versa. We need much more time to do this, so …
-(NSString *)setDateInFormat:(NSString *)strTxt { NSArray *arr = [strTxt componentsSeparatedByString:@”:”]; NSString *str = [arr objectAtIndex:0]; if ([str length] < 2) { if (![str hasPrefix:@”0″]) { …
We have to write a single line to compress the image at a time when we are uploading our image to a server. NSData *dataForPNGFile = UIImageJPEGRepresentation(imgPicked, 0.0f); 0.0f is the maximum & 1.0f is the minimum compress ratio we can change based on our …
Give UIControl class to UIView then we can access that as UIButton.Add event like Touch Up Inside, touchDown… etc.
Issue Description : I have not getting city name when select some of location. To overcome this issue use below snippet code. – (void) getReverseGeocode { CLGeocoder *geocoder = [[CLGeocoder alloc] init]; if(currentLatLong.count > 0) { CLLocationCoordinate2D myCoOrdinate; myCoOrdinate.latitude = LatValue; myCoOrdinate.longitude = LangValue; CLLocation …
We can solve this by using background task and runloop mechanism. Below piece of code can save your day for problem like run app in background continue. Initialise var UIBackgroundTaskIdentifier var bgTask:UIBackgroundTaskIdentifier! bgTask = application.beginBackgroundTaskWithName(“MyTask”, expirationHandler: {() -> Void …