Most voted "objective-c" questions
This tag should only be used for questions that are about Objective-C language resources or rely on language code. The "Cocoa" and "Cocoa-touch" tag should be used to ask about the Apple framework or classes. Use related [Ios] and [osx] tags for specific issues for these platforms.
Learn more…276 questions
Sort by count of
-
0
votes1
answer38
viewsIOS - How to send an E-mail informing the recipient?
I am trying to send an E-mail with the recipient already informed, but I do not know how to pass this information in the code. Code: -(IBAction) mail : (id) sender{ mailComposer =…
-
0
votes1
answer318
viewsIOS - How to program navigation between Viewcontroller in Objective-C?
I want to navigate between the Viewcontroller of an app by clicking on a button and switching from one to the other for example. But I didn’t want to do it by . storyboard, I want to do it directly…
-
0
votes1
answer23
viewsDoubt about NS_ENUM
I have the following question about NS_ENUM I’m creating one with three options: typedef NS_ENUM(NSInteger, VersionStatus) { OPTION1, OPTION2, OPTION3 }; How do I use Lse inside a switch? Where the…
objective-casked 8 years, 9 months ago Thiago Luiz Domacoski 7,310 -
0
votes2
answers78
viewsUnwind Segue - Objective-c
In the application I am working, there is a Viewcontroller where the user logs in, after logging in, is shown a welcome Alertview, and at that time, would have to return to the main screen, where…
-
0
votes2
answers68
viewsMake disappear buttons based on login
I have the problem in changing Toolbar buttons (Barbutton Items) depending on whether you are logged in or not. Tableviewcontroller: - (void)viewDidLoad { [super viewDidLoad]; User *userObj = [[User…
-
0
votes1
answer98
viewsBluetooth communication between an iPad and a PIN-PAD using Objective-C
I need help on how to use Core Bluetooth to communicate with a PIN-PAD. I’d like to know if that’s possible, and if it is, how can I do it? Thank you!
-
0
votes1
answer46
viewsResize Uitextview according to the amount of content
I’m creating a screen where there’s a UITextView which receives the content of a Web Service, I would like to know how to UITextView resize according to the amount of content obtained, without…
-
0
votes1
answer123
viewsIOS - how do I find the screen size of the user’s device?
I wonder if there is a way to find out the screen size that the user is using or the model of your iPhone via Objectice-C.
-
0
votes0
answers44
viewsTap on Uibutton between two Uiviews
good evening! I have the following problem: I have a Uiview (1) that contains: An Uiview (2) and an Uibutton (3). Uibutton is half inside Uiview(1) and half inside Uiview(2) (but inside the tree, it…
-
0
votes0
answers89
viewsAudio playback error in video streaming
I’m trying to reproduce a video streaming but it’s giving audio problems. On the Android platform, I managed to play it without errors and on the web is also in a good quality. I’ve taken several…
-
0
votes1
answer38
viewsObjective C - How to change the content of an Image View after an animation
I implemented an animation in a Image View and would like to know how I change your image exactly after the end of the animation. Example: - (IBAction)play:(id)sender { //ANIM . . . [UIView…
-
0
votes2
answers56
viewsHow to call a viewcontrolller Runtime
Friends I just need to open a Viewcontroller , and I’m jerking off, could help. Who can help .... Thank you. . LoginViewController *tela2 = [self.storyboard…
-
0
votes1
answer53
viewsMake GET request through a Webview
I have a problem trying to send a request via get for a Webview to open the contents of a page, when I pass the concatenated parameters an error occurs, I believe it is for encoding reasons this…
-
0
votes1
answer70
viewsUicollectionviewcontroller 3 columns auto layout
I’m creating a Uicollectionviewcontroller with 2 or 3 columns, when using autolayout in some devices works perfectly but in others not, I did not find anything that speaks how to dynamize these…
-
0
votes1
answer60
viewsHow to convert Nsdata to URL
Friends I have an image recorded on Sqlite, read the image and put in a Nsdata variable Now I need to play this Nsdata but the component expects a URL NSURL *urlVideoFile = [NSURL…
-
0
votes1
answer36
views@Protocol is not working
I am implementing a protocol but the same is not able to make the call from delegate: if ([self.delegate respondsToSelector:@selector(addCard)]) { [self.delegate addCard]; } Viewcontroller. m…
-
0
votes1
answer27
viewsPass locations and coordinates of a Uitableview to a Mapkit
This is my first App and basically consists of providing locations in a Uitable (app entry point) and consulting them in a Mapkit (Storyboard model). How can I make the call? I’m trying to use an…
-
0
votes1
answer118
viewsObjective-C inside the Swift?
Is there any way to place Objective-C classes within Swift projects?
-
0
votes1
answer63
viewsHow to get GPS coordinates and GPS speed using Objective-C or Swift?
#import "GetLocationViewController.h" #import "LocationDetailViewController.h" #import "SetupViewController.h" #import "CLLocation+Strings.h" @interface RoutePoint :…
-
0
votes1
answer35
viewsError "Missing '[' at start of message send Expression"
Good evening everyone, I’m doing the integration of Moip’s SDK(a payment gateway) but my knowledge is more in Swift(which I started a few months ago). They provide the sdk for encryption of…
-
0
votes1
answer71
viewsHow to get the current Url in a Webview - IOS
I’m trying to get the current URL because when I’m at a certain URL I need to open the camera of the phone. With android got it, but with iOS on Xcode I’m not getting it, I tried this code more…
-
-1
votes1
answer501
viewsHow to read multiple TXT files and save the strings in a Nsarray?
Explanation of the scenario: Read the contents of various extension files .txt and save the strings of each file separately in one NSArray, in this case, in each index of the array. Obstacle: -…
-
-1
votes1
answer61
viewsHow to use Cfcoverflowview to implement a cover flow using Uiimage?
Setting: Implement a cover flow with CFCoverFlowView, but the source of the images used in the API comes from Images.xcassets. I tried to replace the images using UIImage but it ends up making a…
-
-1
votes1
answer242
viewsHow to open a new view after clicking on an item on a tableView
I have a list of items inside a Tableview I would like when clicking on a list item a new Viewcontroller is opened containing the information referentere to the selected item I am unable to make the…
-
-1
votes1
answer99
viewsResizing in iOS 8
[RESOLVED] Guys, thank you so much for the answer, but I solved the problem by redoing what I already knew was wrong, this code was legacy, and was not good, but for lack of time I just needed to…
-
-2
votes1
answer237
viewsChat for IOS with Swift 3
I’m looking for a faster way to develop a Whatsapp app for IOS. As I’m very new in Swift I would like to know if there is something like a "skeleton app" that I could improve the look and point to…