my background.jpg has 52 32x32 mini poker cards.png and when user touch on 1 card, it will enlarge to 120x 170 px.
At any point in time, there is only 1 card being chosen (i.e, being animated) with at most 19 entire cards overlapped (120x170 / 32x32).
Should i use Core Animation or do i have to learn OpenGL or use a library such as coc...
Hello All..
In my native iPhone Application, I have a requirement to add a reminder to the user's iPhone Device.
Is it possible to implement this feature using current iPhone SDK ?
Or else is there any other way to implement this feature ?
Thanks in advance...
...
Hi all,
I have a button on my view. I want to display an image as the background on it. The image is previously stored on the memory by the same application.
`NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *uniquePath = [[paths objectAtIndex:0] stringByAppendingPathComponent:...
I'm using the Three20 Library's TTPhotoViewController for displaying a list of PNG files from my application bundle. However, the PNG files appear sketchy and anti-aliased. Anyone facing this problem?
Solutions?
...
This problem is probably not specific to MFMailComposeViewController, but that is where I am having the problem...
I am building the NSString
"myEmailString" for the messageBody of
the MFMailComposeViewController and
storing it in an iVar before
displaying the
MFMailComposeViewController as a
modal view controller.
I pass the string i...
HI, I am calling MFMailComposeViewController from UITableViewController.
Problem is, delegate method mailComposeController:(MFMailComposeViewController)controllerdidFinishWithResult* is never called when I select Cancel or Send button in Mail compose window.
Here is the table view class:
@implementation DetailsTableViewController
- (vo...
I use IUWebView like chat window and after adding new message in the bottom of view I wanna scroll down view programmicaly, how can I do it?
...
Is there a way to convert an image on the fly to "Red on Black" for accessibility? I have pictures that I want to stream to the iphone. Viewing them at night, Red on Black is better for viewing.
...
Hi guys,
I have some issues with pushViewController. Essentially so far I have a class (UIViewController) that is essentially a UITableView (i have delegates for UITable) and it shows the UITable fine. Now I want this to be a hierarchical table that goes down to another controller...
Problem is, prior to me making this change, the NIB ...
I have successfully set custom image on MKAnnotationView to replace pins (i use the function setImage).
But it's only works when the MKMapView type is "Standard". Satellite and Hybrid modes display always pins...
Has someone got an idea to solve this strange issue ?
Thanks a lot.
Tom.
...
Hi,
I have a litle problem resigning the keyboard. I have a table with two sections. In the second section, I load the class "stationenStartCellNumber" which has a UITextField.
When I press anywhere outside of the UITextField, I want the keyboard to resign as first responder, and thereby closing the keyboard. It works perfectly inside...
Hi all,
I am trying to scroll the picker view horizontally and this is my code.
in viewDidLoad I did this,
CGRect frame = horizontalPickerView.frame;
frame.size.width = 50;
frame.size.height = 216;
frame.origin.x=90;
frame.origin.y = 200;
horizontalPickerView.frame = fra...
This is my code, i'm trying to drag and drop a card which will animate on touchesBegan, but the animationImages are larger than the initial card image before touches begin.
How can i change the UIImageView to accomdate the animateImages sizes?
cardAnimationArray is an array with 19 images xxx1.png, xxx2.png... which have various sizes...
Hi Everyone,
I have problem with this code, it's working on debug environment. On the instruments i'm seeing memory leak problem on this function, instruments is giving warning that
Category Event Type Timestamp Address Size Responsible Library Responsible Caller
27 SocialNetwork Malloc 00:19.951 0x3d64d20 80 Foundation -[NSKeyedUn...
I have an Entity 'Event' which contains a NSDate 'AccidentDate'. I am trying to do a fetch request to grab only the most recent 'AccidentDate' but I am not sure how to set up the predicate to grab only the last 'AccidentDate'
Below is my code so far...
NSFetchRequest *fetchRequest1 = [[NSFetchRequest alloc] init];
NSEntityDescription...
I'd like to access the native iPhone calendar database from my own application. I see that CalendarStore isn't available on the iPhone. Are there other ways to access it that will still be approved for app submission to the app store? I only need read-only.
...
I must have misunderstood something. I simply want to use performSelector: to call one of my own methods. Here I have the method declaration in the @interface:
-(void)forceReload;
FYI, all of this code is defined on only one type. And here is the method implementation and the calling method:
-(void)forceReload {
// code here...
}...
Hi all,
I have some audio files saved under the Documents directory. I just want to get those file names so that I can display them in a tableview. Right now I'm using
NSArray* files = [[NSFileManager defaultManager]
contentsOfDirectoryAtPath:DOCUMENTS_FOLDER error:&err];
How can I extract just the file names i...
Hi guys,
I need some guidance with this issue I have. I have a navigational Controller, with the root controller making use of CoreData and an NSFetchController. Now, the root controller works fine. When I click on an item, hierarchically it should display the next UITable associating the values for the row in the previous root controll...
My app is highly data driven, and needs to be frequently updated. Currently the MySQL database is dumped to an xml file via PHP, and when the app loads it downloads this file. Then it loads all the values in to NSMutableArray's inside of a data manager class which can be accessed anywhere in the app.
Here is the issue, the XML file prod...