Category "objective-c"

Setting the titleLabel.font property of a of a UIButton not working

In currently working with iOS 7 and I an attempting to increase the font size of the titleLabel of my UIButton. I am doing it like this, [[_centerButton titleL

Detect airplane mode on iOS

How can I detect if the phone is in airplane mode? (It's not enough to detect there is no internet connection, I have to be able to distinguish these 2 cases)

Set UIPopover arrow direction and position manually

I'm using UIBarButtonItem. In my scenario I want to show a popover from every bar button when I double-click that bar button. So I use a UITapGesture from that

Getting "ld: symbol(s) not found for architecture x86_64 clang" on one of nearly identicals machines

I've been on this for two days, searched every corner of the internet and couldn't find any solutions. Currently, when I try to build React-Native Xcode project

Xcode Import For Localizations Missing Resource in Import error

After having our app translated in a few languages, we realized that there were a couple .strings files that had been included in the .xliff files that were not

UITextField Autocomplete?

I am trying to figure out if there is a way to implement an autocomplete functionality in a UITextField for specific values. I know that the UITextField can d

Save string to the NSUserDefaults?

How to save a string into the NSUserDefaults?