cocoa-touch Questions

12

Solved

A while ago I was experimenting, trying to see if i could get navigation items to animate and scroll between each other. I don't know if this is related but suddenly without touching the simulator...
Marutani asked 24/12, 2011 at 12:29

9

Solved

I have a UIButton built in Interface Builder that has a default label. In Xcode, I'm changing the label text dynamically like so: myButton.titleLabel.text = @"this is the new label"; However, wh...
Extrusion asked 1/1, 2011 at 23:39

3

Solved

I'm currently trying to implement a UITableView with a delegate and data source that replicates, as closely as possible, the functionality found the ABAddressBookUI framework's ABPeoplePickerNaviga...
Naraka asked 1/7, 2010 at 20:9

7

Solved

In iPhone App, while running the App on device How to detect the screen resolution of the device on which App is running?
Stinkstone asked 24/1, 2011 at 6:24

6

Solved

How do I disable the bounce effect when vertically scrolling a UITableView? Right now if I scroll anywhere near the bottom, the view scrollbar bounces right up. I would like my UITableView to stay ...
Heroine asked 4/5, 2010 at 20:16

16

How would I set the font size of text in a UITextView such that it fills the entire UITextView? I'd like the user to type in their text, then have the text fill the entire UITextView. Any help is ...
Heronry asked 10/1, 2010 at 22:50

3

Solved

I'm building a medical diagnostic app. Interruptions while a patient (or doctor) is in the midst of using it would disrupt the purpose of the app and waste a lot of time. I would like to know how...
Trowbridge asked 10/7, 2013 at 0:57

11

Solved

On my iPhone app I have a UIImage instance. I want to get a derived a UIImage that is the result of the first UIImage where one of its colors (e.g. magenta) is made transparent. How can I do this? ...
Decolonize asked 11/3, 2009 at 8:21

8

Solved

Normally a selected row in a UITableView gets deselected with an animation when the user pops back from the detail view. However, in my case where I have a UITableView embedded in a UIViewControl...
Georgetown asked 24/8, 2012 at 8:50

6

Solved

This isn't what you probably thought it was to begin with. I know how to use UIImage's, but I now need to know how to create a "blank" UIImage using: CGRect screenRect = [self.view bounds]; Well,...
Crisscross asked 30/1, 2013 at 0:38

13

Solved

I'm writing an app that uses UITabBar for parts of the navigation. I'm also using UIScrollView for presenting more information than what the screen can typically handle. Because of this, I'm needin...
Crescendo asked 24/6, 2010 at 2:56

12

Solved

While I am using Google Maps SDK, I am trying to get driving direction between two locations on iOS. I know we can do this using two methods:- 1.) Using URL Scheme, for which it is necessary that ...

5

Solved

I'm trying to position my UIView to be 20pt under the navigation bar, but when I set it relative to the view on the view controller it's still under the navigation bar at 20pt, and I don't want to ...
Velar asked 10/11, 2014 at 6:25

9

Solved

I am setting my view controllers title like this in view did load: self.title = @"my title"; prior to this I set the title in story boards for the view controller and navigation controller it is...
Renteria asked 6/2, 2014 at 22:39

10

Solved

Rather than creating two UIImageViews, it seems logical to simply change the image of one view. If I do that, is there anyway of having a fade/cross dissolve between the two images rather than an i...
Stephanestephani asked 3/10, 2011 at 18:3

8

Solved

I've created a two splash screen iPhone app. Afterwards user is taken to first view. I've added a UINavigationController. It works perfectly fine. How do I remove the navigation bar for the openi...
Iaea asked 11/2, 2012 at 9:14

5

Solved

I'd like to have a method be executed after the current method has passed and the UI has been updated. For that purpose, I'm using [object performSelector:@selector(someSelector) withObject:someObj...
Mccallister asked 14/11, 2009 at 16:14

31

Solved

I'm using a UITableView to layout content 'pages'. I'm using the headers of the table view to layout certain images etc. and I'd prefer it if they didn't float but stayed static as they do when the...
Providenciaprovident asked 2/7, 2009 at 12:9

10

Solved

I want to be able to dismiss the iPhone keyboard when the user taps anywhere outside of the keyboard. How can I go about doing this? I know I need to dismiss the responder, but need to know how to ...
Christmastide asked 19/4, 2011 at 3:58

14

Solved

I am trying to get a UITableview to go to the top of the page when I reload the table data when I call the following from - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row...
Abandon asked 4/4, 2011 at 18:30

6

Solved

I use instruments to see memory leaks. At least in one scenario where I am constantly flicking through slides/pages (inside UIScrollView) I don't see any memory leak. Using instruments - under "All...
Greggrega asked 4/3, 2010 at 8:48

5

Does PDFKit on iOS expose a PDFView's underlying UIScrollView or is there any other way to directly detect that the user has scrolled a PDFView? My use case is to hide a nav bar when the document ...
Holiness asked 10/1, 2018 at 10:7

5

I have video playing in my application which I don't want to be recorded. What Netflix application do is that they let the audio capture but not the video while screen is being recorded. Anyone h...
Sizemore asked 20/9, 2017 at 10:29

7

Solved

I want to make sure a CGSize is smaller or equal to another CGSize. like: CGSize firstSize = CGSizeMake(1.0,1.0); CGSize secondSize = CGSizeMake(5.0,3.0); if(firstSize <= secondSize){ Do Stuf...
Nishanishi asked 19/6, 2012 at 19:1

2

Solved

Is there a way to set an observer on a UIImageView.image property, so I can get notified of when the property has been changed? Perhaps with NSNotification? How would I go about doing this? I have...
Helmand asked 9/5, 2012 at 0:41

© 2022 - 2024 — McMap. All rights reserved.