Top "Objective-c" questions

This tag should be used only on questions that are about Objective-C features or depend on code in the language.

Remote Notification iOS 8

How can I get the Device Token for remote notification in iOS 8? I used the method didRegisterForRemoteNotificationsWithDeviceToken in AppDelegate in …

objective-c ios8 apple-push-notifications
Programmatically Request Access to Contacts

Since updating to iOS 6 I've noticed that my code to add a contact to iPhone's address book no longer works. …

iphone objective-c ios ios6 contacts
Change UITabBar height

I use UITabBarController as a root view and app supports iOS 6 and above. Project class hierarchy is as below. UITabBarController …

ios objective-c uitabbarcontroller height uitabbar
Customize navigation bar with title view

I am trying to add a custom view in the center of a navigation bar and I am using the …

ios objective-c swift uinavigationbar uinavigationitem
UIScrollView doesn't use autolayout constraints

I have a scroll view and an image view behind it and I am populating it with nibs. I am …

objective-c uiscrollview constraints autolayout
Can I change multiplier property for NSLayoutConstraint?

I created two views in one superview, and then added constraints between views: _indicatorConstrainWidth = [NSLayoutConstraint constraintWithItem:self.view1 attribute:NSLayoutAttributeWidth …

ios iphone objective-c nslayoutconstraint
How to rotate an image 90 degrees on iOS?

What I want to do is take a snapshot from my camera , send it to a server and then the …

iphone objective-c ios rotation
iOS: Keep application running in background

How do I keep my application running in the background? Would I have to jailbreak my iPhone to do this? …

iphone objective-c ios xcode4.3 background-process
No valid 'aps-environment' entitlement string found for application on app store

So I have this app called Dripper that I put out about a month ago and then an update a …

ios objective-c xcode app-store push
How can I loop through all subviews of a UIView, and their subviews and their subviews

How can I loop through all subviews of a UIView, and their subviews and their subviews?

iphone objective-c loops uiview subview