I have a UITableView with style "Grouped" which I use to set some options in my App. I'd like for one of the cells of this UITableView to only show up depending on whether another of this UITableView's cells is activated or not. If it's not, the first cell should show up (preferably with a smooth animation), if it is, the first cell shou...
My copy and paste controls (blue dots to select text) are getting clipped in my UITextView. How do I prevent this from happening?
Thanks!
...
Here's my situation:
I have an app with 3 tabs. Tab 1 is a MKMapView. 2 is a navigation controller, with a table view, and 3 is going to be a table view with UI search bar or something different to the first two.
So, for my mapview, on viewDidLoad i want it to get the users current location, go off to a webservice and then drop some pi...
in my code, I need to compare two strings to see if they are equal. if they are it needs to preform a function. one of the strings is just a @"someString", the other is part of an object.
if ([[[mine metal] stringValue] isEqualToString:@"Gold"])
{
//some function
}
however there are some complications when I do this. first, it gives ...
in my MainViewController implementation, I need to access variables from two different classes. one of the classes is the AppDelegate and the other is the FlipsideViewController.
the way I accessed these was through this code:
-(void)someMethod
{
MyApplicationAppDelegate *appDelegate = (MyApplicationAppDelegate *)[[UIApplication sharedA...
If I holds the finger on a word displayed in web view,
highlight the word with corner anchors to allow
me to stretch the selection across a span of
words. Once a block of text is
highlighted, it gives me the option to copy text.
Can i get that highlighted text without coping it?
Thanks in advance
...
Hello all,
I am developing an application which uses both video recording and photo shoting.So i want to show buttons according to os for this i implement these methods.It's working fine when i build for OS 3.1 but when i build for OS 3.0 it shows errors
here are the methods
if ([self videoRecordingAvailable])
{
imagePi...
Hello all,
I have one strange problem.I have two UItextfields in my view and a button.When i click on button.I have changed the frame of view in animation block but it's resigning later here is my code if someone told me about this i'll be thankful
-(IBAction)SignINClicked
{
[Email resignFirstResponder]; //TextField
[Password resig...
There is an iPhone App: iVideoCamera (http://labs.laan.com/blog/2010/01/the-ivideocamera-update-approved/), I am wondering what is the way it uses to reach the function that performing video recording on iPhone 3G?
Write an iPhone program to take several pictures in one seconds? But I think it is not possible to take more than 15 pictu...
I've made an iPhone app to be used while exercising. It plays a bell tone to indicate that you (the user) should switch from one step of your exercise routine to the next. I've designed the app so that you can listen to music on the iPod while using the app, and I want the tone to play sufficiently audibly over the music. I've gotten t...
one of my view controllers has several UISwitches, and I want another view Controller to be able to access the values of the UISwitches for If/and statements. How do I do this in Objective-c?
...
I'm trying to make a button play a sound upon touching the button. I can get the sound to play with the Touch Up Inside option but that's not what I'm looking for because the sound only plays after the button is released.
I've tried to use touchesBegan to play the sound upon touching the button but it doesn't seem to work. Any ideas wh...
Hi,
My UITableView has up to 50 rows in each section, populated by a plist dictionary which contains arrays (sections) which contains arrays (row objects) which contains two strings (row title / filename and file extension).
Select row 1 - 25 (item 0-24) and everything behaves normally. But select a row greater than 26 (item 25) and th...
Hi There,
Is there a way to query the size of a file that was requested via http in objective c on iphone.
I would like to find out file size prior to data being sent back so I can write a simple Download Progress indicator.
Your help is much appreciated.
Tony
...
I already know that RTMPE is done through Flash and that even when you compile flash down to run as an iPhone application that one of the things that specifically doesn't work is RTMPE.
I just want to make sure that I'm correct in assuming that there is no way to get this working.
...
I dont think you are allowed to create your own calendar on an app, since historically they get rejected with 'Duplicates functionality of iPhone OS' message.
So, can you import the users calendar and display it?
And if so, can someone post a link to a tutorial or something please?
Thanks,
Sam
...
I have a png image file that is partly opaque and partly transparent. I display it in a UIImageView as a mask of sorts over another UIImageView layered behind it (as a sibling subview of a common superview). It gives me perfect borders around something painted using a finger on the lower UIImageView in my stack of UIImageViews. Perhap...
My UITable View does not refresh from its data source of an array, which is edited but the Modal view controller.
I have confirmed that the editing works fine.
And I have this tried these,
- (void)viewWillAppear:(BOOL)animated
{
[myTableView reloadData];
NSLog(@"Routines: %@", routines);
NSLog(@"refreshed!");
}
and
[self.myT...
I want a UILabel to swell slightly when selected like in some game menu screens. To get smooth resizing I presume I should put some change to the label's properties in an animation block.
The obvious thing to try is to change the label.font.pointSize property but that's readonly.
Scaling the label's .transform property with CGAffineTra...
How to hide annotation when zooming out the map view. I have a big number of annotation i have to hide them because if the region displayed on the map is too big you can see only the annotations.
...