Questions tagged as 'ios'

1
answer

Botao Like customized

Does anyone know if it is possible to customize like button of facebook SDK ? I need to use my image as the background of the button or make it a button. var likeControl:FBSDKLikeControl = FBSDKLikeControl() likeControl.ob...
asked by 05.06.2015 / 23:45
1
answer

How to use a user's information in the mysql database in a label? iOS

I'm developing an app for iOS that connects to the mysql database and logs in the user using the email and password information, this part is working well. Now I want to get other information from this user and display them on a label. How would...
asked by 18.06.2015 / 08:19
1
answer

Identify that an App is entering the background

I have an app that is in Object-C and I'm trying to pass it to Swift, but I'm having some problems, one of them is NSNotification that is not working. In object-C, I'm using it as follows: - (void)viewDidLoad{ [[NSNotificationCenter def...
asked by 25.03.2015 / 02:58
0
answers

NSLocalizedDescription = Expected status code in (200-299), got 401

I'm trying to login to an application in Objective-C using RestKit but when I type the email and password it has the following error in the console: AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x7ffbd0f5f130> { UR...
asked by 25.02.2015 / 23:15
0
answers

UIPageViewController - Making a slider

I am using a UIPageViewController . It displays content and is changed by a NSTimer page. Basically as the content slider in highlights on the websites. The problem is that I need to identify exactly which side the user is moving th...
asked by 24.02.2015 / 17:53
1
answer

How to work with 1 to 1 relationship in core data?

How do I perform operations relating entities in Core Data?  These operations will relate data between 2 entities, being type 1 to 1. I want to relate the image attribute of table 1 to the image path field of table 2. Example: Iwouldliketo...
asked by 28.01.2015 / 16:29
2
answers

Download data in String format and JPG Images

I'm implementing a project that has a Web Service. In this Web Service you save product data, containing the fields: Name, Value, Description and Product Image. I did some tests by downloading only the data in the format String, which due to...
asked by 27.01.2015 / 15:53
1
answer

Problems starting UIImage with image path coming from core data

I downloaded an image, and I stored it on disk. After downloading the class inserts the image path in the core data, getting this string: @"/Users/Tiago/Library/Developer/CoreSimulator/Devices/3E103B07-E48E-4740-911C-ECD24E0C3A3F/data/Containe...
asked by 31.01.2015 / 23:03
1
answer

Error when using STTwitter and Swifter

I'm trying to use one of the two STTwitter or Swifter libraries in my project but always the error. In the case of STTwitter the error is in the method call getUserTimelineWithScreenName:(NSString *)screenName successBlock:(void(^)(NSArray...
asked by 16.01.2015 / 23:31
1
answer

WebView with some problems in swift

I have 1 problem Simple code: let url = "http://apple.com" override func viewDidLoad() { super.viewDidLoad() let requestURL = NSURL(string:url) let request = NSURLRequest(URL: requestURL!) webView.loadRequest(request) } This webview i...
asked by 06.01.2015 / 01:55