I created a custom Navbar for my application using a protocoll:
@implementation UINavigationBar (CustomImage)
- (void)drawRect:(CGRect)rect {
UIImage *image = [UIImage imageNamed: @"navbar.png"];
[image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
}
@end
this works fine. all toolbars in my app...
Can I change the font of my UINavigationController? --> title
...
Hi
I need to call didSelectRowAtIndexPath method in UITableView again within inside the didSelectRowAtIndexPath method.
The code as follows like that
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
------ --- ----
------ --- ----
------ --- ----
...
I have a UIViewController (parent) that calls presentModalViewController with another UIViewController (child) on viewDidLoad.
If parent doesn't have a UINavigationController, then presentModalViewController does nothing. If it has a UINavigationController, then presentModalViewController shows child as expected.
Is this the standard b...
I accidentally submitted my app in the wrong primary category. The app is now submitted to the app store. How can I change the primary category?
...
I'm integrating facebook in my iphone app.
I placed a button "Post" and when clicked, its showing "Facebook Login" view. I'm entering the credentials. Then did login delegate, i'm posting the message. Now,its showing the message view with two buttons at the bottom "Skip" and "Publish". "Publish" is working fine. When "Skip" is clicked, i...
Hi all, I am trying to display a modal view controller containing a NavigationController. I can't figure out where to release the controllers, though. Normally, I would just release the controller after displaying it, but that won't work here; presumably that has something to do with the navigation controller. Any help would be great...
So I have a method that takes an NSString as an argument, and I would like that method to basically decompose that sting into individual characters and store them in an array(NSArray).
I other words I would like to read each character in the string and store the individual characters in an array and in the same order, so that I can proc...
I want these double values to seed/pre-populate an sqlite file. Thanks!
Matt
...
Hi All,
In my app, I am placing a phone call due to which my app goes in background and suspended. After disconnecting the call instead of my app coming in foreground, native phone app comes into foreground.
Is there any way by which my app comes into foreground (instead of native phone app) after disconnecting the call.
If there is ...
It seems to be really hard to improve the performance of a UIWebView, especially for websites like Mashable or Ars Technica, where tons of scripts are loaded and long, multi-page articles are common.
I'm aware of 3 similar questions, but they both have no working solution:
UIWebView scrolls jerkily - private API calls like -(void)_set...
I'm trying to develop one iPhone App like the Recipes example of Apple, but I have one question? I want to show data that I have stored in a database, but I don't want user to add data or edit this information. I only want to show the data in a table view like name, description, image, etc. What's the best option? Core Data (and how I ad...
Is it possible to call a Common Lisp function in iOS? (e.g. create it in a dynamic library?)
...
I'm not really a server-side person – I generally do iPhone apps, though I've hacked together a few Wordpress sites.
I'm curious as to what web technologies people would use for the back-end of an iPhone app whose front end presents as a basic forum. In other words, people can create new threads, and respond to them - with plain text on...
Hello,
I have searched online for how to do this but I don't understand. The only thing that I find is people telling each other to look at the example that came with cocos2d. What example is that? Where is it located? All I can find are class files. And I do not know how to link UIKit and Cocos2d together which makes it even harde...
Hello,
I was wondering if I could copy some text to the iphone keyboard via code - I.E. They press a button named "Copy Link to Keyboard" and it would copy a link to the keyboard?
Thanks,
Christian Stewart
...
I am currently creating my first app for a personal project and I'm having trouble modifying a UILabel's properties when MyViewController is loaded.
From other tutorials, I see that when the nib for my app is unarchived, the initWithCoder app is called:
@synthesize tipText; //references the UILabel i created in my nib file
- (id)initW...
I want to be able to call a method and then, either wait for the method to finish doing it's thing and then invoke the next method call, OR call a method, wait a certain amount of time and then invoke the next method.
Any thoughts on how I would do that?
Example:
[self method1];
//wait for method1 to finish whatever it's doing then mo...
Hi
I followed a tutorial using depth buffer in opengl es 1.1. But I use opengl es 2.0. The implemented code results in an error: Failed to make complete framebuffer object 8cd6.
See implemented code below:
(void)createFramebuffer
{
if (context && !defaultFramebuffer)
{
[EAGLContext setCurrentContext:context];
//...
If I have a video streaming server (e.g. IIS Media Services) with a live video streaming, I want the user to select from a list of interesting parts of that video and then play just that bit.
For example, if I'm interested in a 25s clip 20m into the full length I want to jump to that bit and then close the video player at the end.
...