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

Can we start iBeacon transmitter in background?

Can we start iBeacon transmitter in background? I have iphone app in which I have created transmitter and receiver both. But, transmitter stops tranmitting when screen is locked or app is in background. Can I keep start transmitter startAdvertising still in background?

Should I be worried about rumors that Apple will stop using Google Maps in iOS6?

Almost every major news media outlet is reporting that Apple will stop using Google Maps services in iOS6. I don’t think anyone really knows what exactly the changes are, when they will be rolled out, how Apple will implement them and if Google or Apple will start charging money for their services. As a result […]

How To Clear A UIWebView

I am very new to the whole programming business, and was wondering if there is any way to clear the contents of a UIWebView in iphone programming, so that the loading symbol for the next view is not showing up in front of the last view. Many Thanks, Thomas

Convert spelled out number to number

Is there a way, in Objective-C/Cocoa, to convert spelled out words to an NSNumber or equivalent in multiple languages? For example: convert three to 3 or convert ocho to 8 (Spanish). Also slightly different, but 3 1/2 to 3.5 I could write my own code to do this, but I was hoping there was a […]

Show data in UIPickerView second component based on first component selection

I am using a picker with two components. I want if I select a row in first component on the basis of selected component it shows the value of the corresponding data. As Picker is showing that England has corresponding clubs when England is selected. I want to do same for the other countries.But I […]

What privacy-violating or device-changing things can I do on an iPhone?

I see a lot of questions like these about iPhone and iOS. I’d like to re-ask (and answer) them as a group, and generally… can I see the data belonging to another app or change it’s behavior? can I prevent some aspect of the device from functioning, like wifi or bluetooth? can I change settings […]

Can the -ObjC flag be applied selectively to static libraries?

TL;DR How can I make the -ObjC linker flag target a specific static library and not all the static libraries I am linking against in order to avoid unused object files being linked in with my app? Too Long; Did Read So you are developing a new iOS app and you add in your homegrown […]

NSStrikethroughStyleAttributeName , How to strike out the string in iOS 10.3?

I have used this line of code before release of iOS 10.3 ,and worked fine. NSMutableAttributedString *attributeString = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@”%@\n%@”,strMRP,strOffer]]; [attributeString addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:12] range:NSMakeRange(0, strMRP.length)]; [attributeString addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:15] range:NSMakeRange(strMRP.length, strOffer.length+1)]; [attributeString addAttribute:NSStrikethroughStyleAttributeName value:[NSNumber numberWithInteger: NSUnderlineStyleDouble] range:NSMakeRange(0,strMRP.length)]; But now it is stopped working ,is there any alternate way to do the strike […]

Error in Swift class: Property not initialized at super.init call – How to initialize properties which need use of self in their initializer parameter

I am overriding a UITableViewController in swift, in which I have two required variables which are initialized by using a weak reference of self since these are used to implement UITableViewDataSource protocol and need self reference to use its tableView property class VideosListViewController: UITableViewController { required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) self.datasourceOfflineVideos = ASDataSource(tableViewController: […]

How to logout user using Facebook authentication using Swift and iOS?

I’ve tried searching around but I can’t find the answer to my question. I’m playing around with this application from github: https://github.com/Yalantis/Koloda/tree/master/Example I’m using it because I’m doing a project which will use the tile based swiping from this application. I’m also using firebase. So far, I can add users to my database, so the […]