I'm working with some colors, and they don't appear to be correct at all. The attached Images show the expected result, and the actual simulator, and on-device result. As you can see there appears to be quite a difference between what the Gimp thinks RGB(0, 16, 60) is and what the output I'm getting from [UIColor colorWithRed:0.0 green...
Is it possible to swap out the icon for UITableViewCellAccessoryDetailDisclosureButton with a custom icon?
...
I'm learning Cocoa/Objective-C/iPhone SDK, and as a simple project to apply what I've learned, I wanted to create a simple version of the Simon game of old. Four colored buttons, you're shown a sequence (Red, Green, Blue, Red, etc.) and you have to repeat the sequence back.
I believe I have most of it figured out, save one piece: showi...
hello,
is anyone aware of a way of adjusting the height of the tab bar on the iphone? Is this in breach of UI guidelines?
Thanks
...
I have an entity with a number of to-many relationships. I present certain properties of the entity in a tableview, using a NSFetchedResultsController. Of all the relationships the entity has, the values of only 1 of the relationships are displayed (they are currently faulted in the cellforrowat... method). It seems to me that this could...
Is there a way to obtain something like a dictionary of all key-value pairs of a class?
...
One of the screens in my iPhone app is a UITableView that has a search bar in the table header. I want the search bar to be hidden until the user pulls it down, so I use this line in my viewDidLoad method:
[self.tableView setContentOffset:CGPointMake(0,40) animated:NO];
This correctly displays the tableView with the header scrolled of...
I am relatively new to iPhone programming and am having difficulty as to where/how to push a selected row's drill-down view from a grouped table view. My top-level table view shows OK. I am putting the code for didSelectRowAtIndexPath in RootViewController.m and am telling it to push a new view onto the stack when a row is selected. Howe...
When using a plain-style UITableView with a large enough number of cells that the table view cannot display them all without scrolling, no separators appear in the empty space below the cells. If I have only a few cells the empty space below them includes separators.
Is there a way that I can force a UITableView to remove the separators...
This is the code of my cellForRowAtIndexPath of my UITableView
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *identificadorNormal = @"Normal";
UITableViewCell *cell;
cell = [tableView dequeueReusableCellWithIdentifier:identificadorNo...
app id: com.riseuplabs.newapn
product id: com.riseuplabs.newapn.01 and com.riseuplabs.newapn.02
The bundle Id is correct, provisioning profile is correct, product Ids (com.vendor.appname.itemname) are relative to the bundle Id (com.vendor.appname).
In creating the purchase items with unchecked "cleared for sale".
I have request the pr...
hai all,
how can i play a song file bundled with the application using MPMusicPlayerController ?
code that i tried,
NSString *url = [[NSBundle mainBundle] pathForResource:@"song1" ofType:@"mp3"];
MPMusicPlayerController *myMusicPlayer=[[MPMusicPlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]];
[myMusicPlayer p...
I am working with a free app that calculates grades for norwegian high school students. The different subjects are stored in a sqlite database. Everything works fine, except for one thing: If i close the app and restart quickly (faster than, say, one second), it crashes. Also, this only happens if I close the app in specific circumstance...
Hi,
I have an application with a set of tabs. In one of the tabs I have implemented a table with searchbar feature (lets call this controller A). I have now added a home view to the application, which is laid over the tabController view.
I would like to add a searchbar to the home view (let's call this controller B), which is essenti...
I have a relativeluy simple setup.
myScrollView
containerView
touchSensitiveView
passiveView
So, touchSensitiveView and passiveView are subviews of containerView which is the only subview of myScrollView, a UIScrollView instance (not a subclass of UIScrollView).
touchSensitiveView implements all touch sequence methods:
...
Hello, I'm here again!
I have a deadline soon and I have very annoying bug in front of me and no ideas, how to fix it. The problem is, that sometimes device doesn't know what it's orientation is before it has been rotated and so it messes up frames in conditional statements:
if (orient == UIInterfaceOrientationPortrait || orient == 0)...
I want to schedule a thread after a thread completion.
Is it possible ? How?
For example ( to specify my need )
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
// 1. response - schedule myThread
// 2. response - schedule a new thread which will be executed after myThread
// 3. response - s...
I'm working on some basic logging/history functionality for a Core Data iPhone app. I want to maintain a maximum number of history items.
My general plan is to ignore the maximum when adding a new item and enforce it whenever I need to fetch all the items anyway (e.g. for searching or browsing the history). Alternatively, I could do it ...
Is the correct way of designing a UIPageControl based app still like the PageControl sample (7/3/2008) on the Apple developer site...built for OS 2.0?
In that sample, it uses the same xib and controller for the pages. If I have five pages, can I use five different controller/xib pairs for each page? Is that as straight forward as it s...
Hai all,
In my iphone application i want to open a my custom application(available in the iphone) when the user tapes on a particular type file sent by email or MMS ,
for example, if i sent an music file (via email or MMS) with a custom extension (for eg: .muc) i want to open my application (lets say myMusicPlayer) to play that fil...