Category "objective-c"

Linking a static library to an iOS project in Xcode 4

I have a project (AQGridView) that compiles to a static library, but I can't seem to add it to my project. Dragging in the project to my project creates a work

Facebook share error : "the page you requested cannot be displayed right now"

I have used custom stories to do the facebook share and the share happens correctly and displays in posted user's facebook wall. See below: The issue when wh

How to remove the bottom gap of UIPageViewController

I am using UIPageViewController to show images full screen, the UIViewController which is added to UIPageController as a sub view / child has the images being s

Drag-to-resize NSView (or other object)

I'm trying to build an app that will allow the user to specify multiple areas of an image using rectangular bounding boxes that they can resize. So far, I've g

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?