I have a UIViewController (aViewController) added to a UINavigationController which in turn is added to a UITabBarController.
I then use [self.navigationController presentModalViewController:animated] within aViewController to present a new view controller (bViewController).
However bViewController is always displayed full screen, thu...
I already know that RTMPE is done through Flash and that even when you compile flash down to run as an iPhone application that one of the things that specifically doesn't work is RTMPE.
I just want to make sure that I'm correct in assuming that there is no way to get this working.
...
I create a circle with a nice shadow with this code (I use MonoTouch.net for iPhone, Objective-C answers are fine of course)
UIGraphics.PushContext (ctx);
SizeF shadowSize = new SizeF (0f, -3f);
ctx.SetRGBFillColor (194f / 255f, 212f / 255f, 238f / 255f, 1f);
ctx.SetAllowsAntialiasing (true);
ctx....
I am using the ABTableViewCell subclass by Atebits to optimize scrolling for rather large potential data sources depending on what my search returns. (Either way though, I'd highly recommend the subclass for even the simplest tableviews, they scroll like butter!)
I have an NSString drawn in a view:
[nameLabel drawInRect:nameRect withFo...
In my header file, I have this code:
@interface TableViewController : UIViewController
{
IBOutlet UITableView *tblListData;
NSArray *arryData;
}
In my class declaration file, I have this implementation:
- (void)viewDidLoad
{
arryData = [[NSArray alloc] initWithObjects:@"iPhone",@"iPod",@"MacBook",nil];
[super viewDi...
Hi Guys -
I have two viewControllers and one has to pass an array to another, but on receiving side i am always getting count 0. here is what i did
classA.h
Class A : UIViewController
{
@private
NSMutableArray *_array;
}
@property (nonatomic, retain ) NSMutableArray *array;
@end
classA.m
@implementation
@synthesis array =_ar...
I am trying to solve 2 things in my UIWebView:
Load local assets in place of remote ones, under the right conditions
Load remote assets as normal if there are no local ones or they are outdated
Allow the webview to go "back" without needing to reload it's html form the server
So to handle #1 and #2, I implemented a custom subclass NS...
xcode- water effect using opengl in iphone sdk
plz give the sample code for it....
thnak you in advance
...
Hi,
This doesn't seem to be working. What am i doing wrong?
-(void)awakeFromNib{
UIBarButtonItem *rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(showNewEventViewController)];
self.navigationItem.rightBarButtonItem = rightBarButtonItem;
NSLog(@"awaked");
[...
Hi i have added a segmented control to a detailview header in a subview of a uitableview table and used images for up and down to create a up and down control like the one in mail.app. the buttons are working fine.
im after some advice on how to get rid of that items view and reload the next item without having to go back to the main ui...
Hi everyone,
I'm using jQuery on a client's vCard site - http://chrismward.com/beta - to switch between pages.
It all works great on the computer, but when I try on my iPhone: no dice.
I'm using jQuery 4.0 and here is the only js file I'm using on the site (other than jQuery from the Google CDN) - http://chrismward.com/beta/resource/...
This code is leaking, the performance tool blames two leaks on this block of code. If i comment it out the leak doesn't happen. Any help pinning it down would be greatly appreciated.
Leaks:
Malloc 48 bytes
NSCFarray 32 bytes
Code Block:
NSArray *myArray = [[NSArray alloc] initWithObjects: @"Add", @"Edit", nil];
segmentContro...
I have a text which looks like the following,
the url of the page is http://www.myurl.com, and the phone # is (999)999-9999, blah blah blah...
And I want to show it in a way such that the URL and the phone # are both in different color and bolded. Can I do it using just one UILabel control, or I need to parse them out and put them on...
In one classes .h i have
NSMutableArray *rountines;
and in another classes .m i want to do something like this
[routines addOject:@"Hello];
the other class is an ModalViewController type set up.
So, in essence i'd like the .m file of the MVC to be able to read, and edit and do other things to the ivars i declare in the header.
...
When adding subviews to a UIView, what's the difference between the methods addView: and insertView:atIndex:?
...
I dont think you are allowed to create your own calendar on an app, since historically they get rejected with 'Duplicates functionality of iPhone OS' message.
So, can you import the users calendar and display it?
And if so, can someone post a link to a tutorial or something please?
Thanks,
Sam
...
I have #imported the FirstViewController.h
and i get the error "expected ':' before '.' token"
NSString *myString = RoutineTitle.text;
[FirstViewController.routines addObject:myString];
What am i doing wrong? Someone please enlighten me!
Thanks,
Sam
...
I am trying to draw circles around the current location on MKMapview.I tryied many codes but however no success. can any one suggest any links which should I refer. I am new to Iphone so dont have much knowledge about Quartz 2D.
...
Hi,
I have a tableview in the midddle of my tab bar template application..
I wanted to add the contents of the NSMutableArray called 'routines'.
Here is my .h file
#import <UIKit/UIKit.h>
@interface FirstViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
NSMutableArray *routines;
}
@property (nonatomi...
I'd like to push an alert to my iPhone users that are within a geographic range. I can get their location when my app is "alive," but not otherwise.
Would a good approach be: send the localized alert based on users that appeared "in-range" in the last hour? Otherwise, I'm not sure how to only alert relevant users.
Is there a smarter appr...