HI,
I am using a UITableView to display listings. I have customized it and have added 4 UILabels in the cell, but when the row is selected then the row selection color (customized to green) and Label text color (also a green) remains same. So, it becomes difficult to see the text of cell. I want to change the color of labels to white whe...
I created a subclass of UITableView and wanted to use it with a UITableViewController to get the benefits of auto-scrolling when the keyboard appears. In the loadView for my view controller (derived from UITableViewController) I did the following:
- (void)loadView
{
[super loadView];
self.tableView = [[MyCustomTableView alloc] i...
Hi,
I want to search by a name (String) and then get at least 10 matching locations with their longitude and latitude.
Let's say I type 'An' in my search bar, i need to request some map service and get 10 locations that start with 'An'.
It seems we cannot do this with Map Kit.
Could someone point me few little tips to get started. It...
Solved after much googling. Use [arr mutableCopy]!
...
Hello,
My iPhone app was recently rejected from the App Store "because it crashes on launch". However, I cannot reproduce this crash. The app works perfectly on both the simulator and a device with the same hardware and software Apple tested it on (iPhone 3.1 running iOS 4). The crash logs they sent me say "No Backtrace Available", so I...
Hi,
I have several plist files in my app, that I want to be non human readable, or editable.
The idea is to encode them using another app, then drop them in the normal iphone app just for decoding and processing.
I have drooped encryption because 1st, I don't need something with strong encryption, and 2nd because of the app store proc...
- (void)viewDidLoad {
[super viewDidLoad];
[self setWantsFullScreenLayout:YES];
[mainScrollView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onMainScrollTap:)]];
}
- (void)onMainScrollTap:(id)sender {
if(self.navigationController.navigationBar.hidden){
...
Hi
I created xcode universal project, I am trying to load HTML5 page in UIWebView the
problem is i cant see any control to play movie, and i am getting blank screen on the video
place, in ipad and iphone simulator,
my .html file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">...
I am using MFMailComposeViewController in my app, it shows a black title bar, how can i show its title bar with blue background theme?
...
How to detect iphone shake in a ViewController?
...
here is code
UITouch *touch = [touches anyObject];
if([touch tapCount] == 2)
{
NSLog(@"f");
}
Its working sometime and not most of the times.
...
Hi There.
As the topic describes, my app is in /Applications folder and it has got root access but still i cant write/Edit a file in /System/Library/CoreServices.
Can anyone advice me on how to do this?
P.S. I m developing for Jailbroken iOS4 (iOS 4 SDK).
...
I have a cross platform library that has strange problem only on iPhone and only under release.
// .h
class cColor
{
public:
static const cColor Red;
static const cColor Green;
static const cColor Blue;
u8 r;
u8 g;
u8 b;
u8 a;
inline cColor(...) : ... { }
};
// .cpp
const cColor cColor::Red(0xFF, 0x00, 0x00);...
Is there any way to cause an app to quit instead of going to background when the home button is pressed? For security reasons, it would be better if the app did not run in background but actually closed when home is pushed. This is not for users' security, but rather for company data on the app, so it is not a user's choice. I could not ...
Hi,
I'm having some difficulty understanding exactly how the responder chain works in an iPhone application.
My situation is as follows. I have two UIViewControllers that are installed on a tab bar controller. Call them view controller A and B. They are unrelated in the sense that neither of them has a reference or knows about the othe...
I am building an iPhone optimized website and when people use the '+' button on the iPhone you can add a bookmark to the website on the homescreen of the iPhone. How can I specify a url that will be used instead of the page they are on.
For example, if they are in the /Foo/Bar url I want the bookmark to be /Home so they go automatic to ...
Hi guys! I'm developing EPUB reader on iPad. So, I got a problem.
We know that EPUB is not a paged format. But, I want to show it page by page. Of course, it will be more pages if font size is larger, it will be less pages if font size is smaller.
I want to make it like iBooks.
How to solve it?
Thank you for attention.
...
I'm using ABTableViewCell by atebits: http://github.com/enormego/ABTableViewCell http://blog.atebits.com/2008/12/fast-scrolling-in-tweetie-with-uitableview/
The one thing I can't figure out is how to change the height of the cell. Due to the drawing method, I don't think it responds to the normal methods that I've found for changing the...
Hi guys,
I'm thinking of developing a wi-fi login app (that saves passwords) for my school. Is there a way to bypass the login page (auto pushed when you hook onto a wifi network), and let user launch the app to do login instead
Thanks.
...
I'm trying to use gcov on iPhone Project
and followed Apple's instruction described here, but it doesn't work.
When I build and go configured project, .gcda file is created for each object file.
But no executed lines are recorded to .gcda files. (CoverStory shows all coverages are 0%)
I just added a simple class to template project as...