I would like to draw a line and rectangle in my iPhone application, for that i want to used structure concept to draw line and rectangle.In strut shall i want to be
struct line
{
float X1;
float Y1;
float X2;
float Y3;
color of line
draw line function
};
And similarly in case of rectangle.
struct rect
{
float left X1;
float top Y1;
flo...
Hi.
i am trying to use FMOD example application "dsp_effectperspeaker" in my application. But i m getting error
dyld: Library not loaded: @loader_path/../Frameworks/libfmodex.dylib
Referenced from: /Users/asimahmed/Library/Application Support/iPhone Simulator/User/Applications/AF942B1F-A2CB-42D7-B878-47F3F7D51CAF/ChannelSound.app/...
Hey. I have a very simple text output to buffer system which will crash randomly. It will be fine for DAYS, then sometimes it'll crash a few times in a few minutes. The callstack is almost exactly the same for other guys who use higher level controls:
http://discussions.apple.com/thread.jspa?messageID=7949746
http://stackoverflow.com/...
I have one issue with UInavigationcontroller
In my firstview i have button.If i click that button it should open tableview. if i click that tableviewcell is select the nextview willbe open.In my nextview i have backbutton click return to the tableview.if doesnot navigationcontroller.
Please help in this issue.
...
Hi, i have problem trying to find out the default resolution of the images taken and saved by UIImagePicker. I'm trying to merge the photo taken and another image from my library and without knowing what's the size of the image, i'm not able to merge the 2 images correctly.
Another question is that: are there different resolutions for t...
Hi everybody
What is best software for creating models , textures etc... for iphone development.
From simplest to more complex programs.
First thing that comes to my mind is blender , but I'm curious what everybody else is using and their opinions.
...
A quick question to delegates. Lets say, CLASSA has a delegate defined:
@protocol MyDelegate
-(void) didFinishUploading;
@end
In CLASSB I create an instance of CLASS A
-(void) doPost {
CLASSA *uploader = [[CLASSA alloc] init];
uploader.delegate = self; // this means CLASSB has to implement the delegate
uploader.post;...
I want to detect changes of UIPickerView value.
If UIPickerView respond to addTarget i used a code like this:
-(void) valueChange:(id)sender {
change = YES;
}
UIPickerView *questionPicker = [[UIPickerView alloc] init];
[questionPicker addTarget:self action:@selector(valueChange:) forControlEvents:UIControlEventValueChanged];
How...
I have to login to a website that uses Windows Authentication. I am using ASIHTTPRequest to accomplish.
The problem is that I am able to download and display the source code of the HTML page with UIWebView but I could not figure out how to display the full content of the page including pictures, javascript etc.
Any ideas how to accomplis...
I'm getting this gap at the bottom of my window after I add the view of a custom UIViewController. The gap goes away as the view is shifted down after I move to another view and then back.
Here is the code in the app delegate:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customiza...
I'm wondering if there's an off the shelf CMS available that is similar to something like Mobile Roadie - ie: it will allow you to create multiple versions of one application? I'm looking to develop some mobile travel guides for iPhone/Android/Blackberry etc, and rather than get a CMS built, I'd like to see if there's something out there...
I have several UIImage subviews in one UIScrollView. I'm trying to emulate iPhones's Photos app. To enable pinch zooming, I have implemented UIScrollViewDelegate and the one thing I'm unable to figure out is this delegate function:
(UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView;
How do I find out which UIImage subvi...
I looking for a simple way to wire the homepage of my website so that it fires off a Push notification message to my iPhone every time someone lands on the page (just visiting in their browser). I'm aware this could become annoying!
I currently send regular notifications to my iPhone using cron and curl to check sites / RSS feeds for ch...
Trying to fix a very strange error, i have 3 view controllers that start from the app delegate and push each other accordingly. The 3rd view controller then has a toolbar button that calls the code here:
-(void)showEventBrowser;
{
accelManeger.delegate = nil;
NSLog(@"%u",[self.navigationController.viewControllers count]);
[self.nav...
Hi,
I have a UITableViewController view a UITableView that I alloc/init with a frame of CGRectZero :
self.tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped];
I want to add a view at the middle of the tableView (a loading view with a UIActivityIndicatorView and a UILabel), but I don't know how to ...
For example, the first gen iPod touch is making sharp tick sounds when rolling a picker view. I need a easy way to trigger a sound for my unit tests. When a unit test fails, I want the iPhone simulator to make a noise so that I see it. Because I'm not looking at the console all the time for NSLog messages...
...
mpmovieplayercontroller sometimes has slow load time, what can be the reason?
thanks
...
Hi, I am new to iphone development. I have created 5 buttons in the view. On clicking the buttons it navigates to the corresponding views. On clicking the "News" button it navigates and displayed the parsing details in the table view.(This table view, I have created View controller and added table view using Interface Builder and i have ...
Hi,
I am using the accelerometer to move a few UIImageViews around the screen, at the moment the accelerometer only works when a NSTimer is at 0, this is fine. I would also like to make the accelerometer stop again when a different function happens.
here is my code at the moment:
-(BOOL) accelerometerWorks {
return time == 0;
}
-(voi...
Hi,
I need to rotate the video player on iPhone (or let it autorotate).
I know the webview solution, but here come the problem, I need to play several video (distant), and WebView can't provide me a stopSelector.
I know the fact that setOrientation is a private API.
Is there a solution ?
...