I'm having lots of issues with the MPMoviePlayer lately. My app is targeted for 3.0+. So if I compile it under 3.0 will it run on an iPad? Because it doesn't work on 3.2 because of the new MPMoviePlayer changes since 3.2
...
I have a series of buttons that have suit symbols on them. Currently I provide these suit symbols as bitmaps. In preparation for iPhone 4 I'd like to use text instead. However Interface Builder rescales the button to account for whitespace underneath the symbol so I can't get the image to fill the button completely.
Any hints on gett...
Hello,
I'm creating an application that consists of a ListView with 5 rows:
- 1st one containing a graph
- 2nd to 5th rows containing some data with the same formatting.
I have created 2 classes: GraphCustomViewCell and DataCustomViewCell.
Depending upon the position of the cell I load the correct CustomCell with:
NSArray *topLevelObj...
Is it possible to localize the app icon and Default.png files? Do I just drop them in the respective language folders or must I do something else?
...
how can i limit the number of characters in a label
...
I apologize if this is a somewhat stupid question, but I am very new to the REST programming realm. I have an application that is both web, mobile and machine accessible, and I will be leveraging REST-like web services for the mobile and machine part. I was going to use the S3 authentication model for the REST requests, however that re...
hi this is lak..
thank you for your fast feedback
but that not worked for me i am using labels in table..
UILabel *label1 = (UILabel *) [cell viewWithTag:1];
label1.backgroundColor = [UIColor clearColor];
label1.text=aStation.station_name;
label1.textColor = [UIColor colorWithRed:0.76 green:0.21 blue:0.07 alpha:1.0];
[label1 setFont:[UI...
Think of this: A view controller's view is added as subview to another view. Now the view controller tries to unload that due to low-memory warning. I believe that is impossible because it is retained by the superview. But what if the VC really unloads the view, and then loads it back again when it is needed? Who will add is as subview t...
hi i am having text view and on it one button to move to main view ,but i am using this is not working for me..
BackButton.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
BackButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentCenter;
[BackButton addTarget:self action:@selector(Back) forCon...
I'm developing an iPhone app that uses the Extended Audio File Services. I try to use ExtAudioFileRead to read the audio file, and store the data in an AudioBufferList structure.
AudioBufferList is defined as:
struct AudioBufferList {
UInt32 mNumberBuffers;
AudioBuffer mBuffers[1];
};
typedef struct AudioBufferList AudioBufferLis...
I'm trying to point to the documents directory instead of the Bundle, I have the following code:
- (id)initWithLibraryName:(NSString *)libraryName {
if (self = [super init]) {
libraryPlist = libraryName;
libraryContent = [[NSArray alloc] initWithContentsOfFile:[[NSBundle mainBundle]
...
From the docs:
Create a root view object that is
sized to fit the screen. The root view
acts as the container for all other
views associated with your view
controller. You typically define the
frame for this view to match the size
of the application window, which
itself should fill the screen.
However, the view contro...
The docs say that the whole subview hierarchy can be created in -loadView. But there's also this -viewDidLoad method which sounds nice to ovewrite for actually building the hierarchy, when the view loaded. I guess it's a matter of taste only. But maybe doing so in -viewDidLoad hast the advantage that the view controller already adjusted ...
how to do morphing of two images in iphone programming.?
...
Hi!
When I push a UIViewController within a UINavigationController, the UIScrollView in the view changes dimensions. Now even I am trying to resize the UIScrollView. It wont simply resize. It maintains the framework dimensions. Any idea why this would be happening.
Example:
My NIB has a view which has a scrollview with dimensions (320...
FYI: Im following a tutorial from the book "Beginning iPhone Development", chapter 12.
Here is the setup, i have a two files in the Classes folders called QuartzFunView.m and QuartzFunView.h (ie. a class called QuartzFunView).
Now if i double click on my blaViewController.xib file, then click on "View" and in the Identity Inspector tr...
I want to display an alert view with a search bar option on it.How can i create a search bar in a alert view.Please help me out.Any sample codes would me more helpful.
Thanks
...
Given an iPhone app with a UITableViewController pushed onto a UINavigationController, I would like to add a right bar button item to toggle between the table view and an "alternate" view of the same data. Let's also say that this other view uses the same data but is not a UITableView.
Now, I know variations on this question already exi...
I have asked this question before but not for sql server express.
It seems that web services is not an option for syncing sql server express and iphone.
Besides that it is not a necessity to sync within 3G or a Wifi connection. It is good enough to connect the iphone to the pc so that it can find the sql server through the network (prob...
This is a method I use to switch display views, based on a string passed (for example you could pass MainMenuViewController to switch views to a new instance of that class):
- (void)displayView:(NSString *)newView
{
NSLog(@"%@", newView);
[[currentView view] removeFromSuperview];
[currentView release];
UIViewController...