I have an iphone app that uses Core Data to do storage. I have successfully deployed it, and now I'm working on the second version. I've run into a problem with the data model that will require a few very simple data transformations at the time that the persistent store gets upgraded, so I can't just use the default inferred mapping mode...
Hi I'm new to the IPhoneSDK so please bear with me.
What I'm basically trying to do is I have one view with 10 buttons, named 'one' to 'ten' respectively. What I want to happen is that when I click on a button (eg: 'nine'), it'll go to another view, with animation, then on that next view, there's a label that will display the text corre...
I want to assign the value of indexpath.row of the row which is currently selected, to a variable, How to do that???
...
now it show as float how to show it as integer
sliderCtl = [[UISlider alloc] initWithFrame:frame];
sliderCtl.minimumValue = 1;
sliderCtl.maximumValue = 15;
sliderCtl.continuous = NO;
sliderCtl.value = 1;
[sliderCtl setShowValue:YES];
...
I have a programmatically created UIToolbar in a couple of views. In my view that has a table present, there is a white line across the middle of the toolbar, that appears to be where the border of the table cell would be. Is there a way to get rid of this line?
Here's a screen shot:
Here's the code I'm using to create the toolbar ...
I'm trying to implement a custom login view to Twitter (I don't want that UIWebView).
I've downloaded many classes, and I'm so far having a nightmare with this. Now I'm trying to make Twitter + oAuth work. Here's the demo code (that works):
_engine = [[SA_OAuthTwitterEngine alloc] initOAuthWithDelegate: self];
_engine.consumerKey = kOAu...
In my application, i'm using a customised table. Each cell have an uibutton and uiimage. When a touch up accurs at the button, i want to call the uiimagepickercontroller method to select a picture from the iphone library and display it in the image view. I've written it but getting a warning... 'customCell' may not respond to presentmoda...
Hi
I am trying to write some data to the beginning of an audio file. But the file is getting overwritten. If I write data worth 20 seconds to the beginning of the audio file using AudioFileWritePackets, the initial 20 seconds of data is overwritten in the original audio file.
This is what I use
AudioFileOpenURL((CFURLRef)flUrl, kAudi...
Do iPhone games which replicate the exact functionality and rules of popular proprietary board games need special permission (copyright, trademark, etc) from the relevant companies (Mattel, Hasbro, Parker Brother, etc) before being submitted into the App Store for approval?
...
I have a problem with an NSData object -writeToFile: method, and the same with the NSString object as well.
When I compile to software, it gives the NSData (or NSString) may not respond to -writeToFile: message.
When I run the software it reaches this line and make an exception.
The data, I try to write into a file, is containing an A...
Hello,
We have an issue with the Image Picker in our App. When the camera is launched to take an image, our app restarts and shows the main screen. Can somebody throw some light on this issue?
Thanks in Advance.
...
hi all,
i'm having NSMutableArray which containing student info, now i just want to extract student name and their average mark only, so what i did
NSMutableArray *stuCollection = [[NSMutableArray alloc] initWithCapacity:[students count]];
for (int i = 0; i < [students count]; i++)
{
if([students objectAtIndex:i] != NULL)
{
N...
I am developing a 2D game for the iPhone and iPod Touch using OpenGL ES 1.1. Everything works ok on the iPhone, iPhone 3G and all iPod Touch models. The game usually renders the scenes at ~60 FPS.
This happens on the iPhone 3GS also, but sometimes (it's completely random) the 3GS drops the framerate to around 40 FPS and the animation se...
hi,
i have done like
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return 3;
}
tableview is in UITableViewStylePlain.but it shows correctly 3 data on 3 tableview cell.but after that there is empty tableview cells ...but when i declared UITableViewStyleGrouped, it shows only 3 tablev...
in my application, i'm loading images to the cells of a table. But, when i scroll the table, the image goes out of sight of the table(goes up), it wont be there even if i scroll back.
customCell.h
#import <UIKit/UIKit.h>
@interface CustomCell : UITableViewCell<UINavigationControllerDelegate, UIImagePickerControllerDelegate> {
UIViewCon...
How to get left-top and right-buttom latitude and longitude of map in MapKit?
I use this code, but it not work good. How fix it?
MKCoordinateRegion region = [map region];
double topL,topG,bottomL,bottomG;
//if latitude=55 and latitudeDelta=126 topL is 118 and it will be not at top, it will be at buttom of screen
topL = region.center.la...
Hi,
I have an built an iPhone webapp using PHP. The main (and only) page includes the apple-mobile-web-app-capable and apple-touch-fullscreen meta tags so that it can run fullscreen once added the the homescreen. However, it seems every time I launch the app from the homescreen, the cache version of the page is used instead of refreshin...
Hi all,
I have come across this situation that after user has tapped on edit and the table turns into editing mode then user moves one of the rows.
So my question is :currently the source array comes from web service so
after moving the rows where to store the rearrangement i.e.
rank that the user has given so next time the user come...
I've build an iPhone app that should work on an iPod Touch as well, but I'm getting reports that the app is not working on iPod touches. It's displaying an error message saying there's no mic available on the device. The thing is, the app does nothing whatsoever with audio, and I can't find anything related in the project settings.
The ...
Iphone HUD+ application that "projects" screen to whindshiled is interesting with its ability to flip the screen in mirror.
Any idea how this is made?
...