Hi,all.
I hope a player can buffer two movies at the same time so that i can play the first movie and the other buffering at the same time .if the first one played finished ,the second can continue to play Immediately。
One MPMoviePlayerController instance can buffer two video resources (URL) at the same time?????
hope your ideas,thank ...
I have a bug I'm trying to replicate but testing it requires the absolute path to my application to change which I know it does occasionally, this part:
/var/mobile/Applications/75774D23-5D27-4872-971C-911F213E3C34/...
How can you force that to change? I've tried changing the version number and cleaning all targets to no avail, I don'...
OK, after much research, and help with stackoverflow users, I've narrowed down how to fix my problem. Most special characters work, except the ampersand.
So, how can I implement the following code twice? I want to do this
[[tvQ.text stringByReplacingOccurrencesOfString:@"&" withString:@"and"] stringByAddingPercentEscapesUsingEncoding:N...
I am pulling my data from sqlite and trying to show it in a UIWebView
I have tried
HTMLData = [container stringByReplacingOccurrencesOfString:@"\n" withString:@"<br />"];
HTMLData = [HTMLData stringByReplacingOccurrencesOfString:@"\r" withString:@"<br />"];
HTMLData = [HTMLData stringByReplacingOccurrencesOfString:@"\r\n" withSt...
I have a selectedArray defined as a property in my file that holds which cells have been "checked". When displaying the cell I check whether or not the current cell value is in the selectedArray, and if it is, I display the UITableViewCellAccessoryCheckmark as the table's Accessory View.
The only problem is, when the user searches for t...
I just looked at the code in NSCalendar.h like this:
enum {
NSEraCalendarUnit = kCFCalendarUnitEra,
NSYearCalendarUnit = kCFCalendarUnitYear,
NSMonthCalendarUnit = kCFCalendarUnitMonth,
NSDayCalendarUnit = kCFCalendarUnitDay,
NSHourCalendarUnit = kCFCalendarUnitHour,
NSMinuteCalendarUnit = kCFCalendarUnitMinute,
...
i try to integrate twitter to iphone app by sharekit
i have registerd my application to twitter.
i not understand how to setup Callback URL
can you tell me more information and step to deploy?
...
I am using cocos2d to develop a game. I used a TouchableSprite as follow:
http://www.cocos2d-iphone.org/forum/topic/3196
So, I create a new class which is a sub class of TouchableSprite. But it have some problems.... See the code first:
#import <Foundation/Foundation.h>
#import "TouchableSprite.h";
@interface MySprite : TouchableSpri...
i can pull the data from xml and can display in table view but how to arrange them in alphabetical order
with header as A(shows data starts from A),B( with b),C....
i tried this
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)row {
if(row == 0)
return @"Countries 88888to visit"; work onl...
I've looked all over the net trying to figure out how to get the bounds based on orientation. The notifications are working fine but I'm getting the bounds of the view via:
CGRect cgRect = self.view.bounds;
which returns {0, 0}, {320, 460} which is correct but when the device is rotated it returns the same CGRect, where I was expectin...
I am having a design issue, this may be due to the fact that i don't fully understand cocos2d and box2d yet.
I want to create game objects that have a CCSprite(image data) and a b2Body(physics), Would i be right to make an encapsulating object that contains both? if i did this this would enable me to make changes to the CCSprite
OR
...
The documentation is clear on the fact that animations (invoked with [UIView commitAnimations]) execute on a separate thread. What's not clear (to me, anyway) is whether the animationDidStopSelector is executed on the main (UI) thread or the same thread as the animation.
Given the following code:
- (void) doSomethingCool {
// Fade ...
I probably didn't word that title clearly enough, but if the user specifies a time of 2:30pm and it's currently 2:00pm, then I need an NSDate object that represents the current day with a time of 2:30pm. If the user specifies a time of 2:30pm and it's currently 3:00pm, then I need an NSDate object that represents tomorrow with a time of...
Hi,
I have several openGL views on the iphone app (xcode) with different sprites, and I'm trying to create an animation, so that when I slide the finger on the sprite the whole view slides out of the screen, and another view slides in with different set of sprites.
Is that possible? If yes, what's the most efficient way to do it?
Than...
if i have:
NSString* number = @"2000";
Will NSInteger integerNumber = [number integerValue];
be equal to the integer representation of 2000?
...
I would like to make the ScopeBar appear when a user clicks on the search field of the UISearchBar just like the email search bar works. I can have the scope bar always on or always off but can't seem to control its display when a user clicks on the search bar. I have used [searchBar setShowsScopeBar:YES] and it does change the proper...
Hello everyone
It looks like both of them can play audio file.
What is the difference between AVAudioPlayer and MPMusicPlayerController?
Welcome any comment
Thanks
interdev
...
hey there, I am creating an app that requires me to add tables in a particular page. The page should
be in landscape mode but the application in portrait. I've figured out the switching i.e from portrait
to landscape and back to portrait [homepage(portrait) -> tablePage (landscape)] and vice versa. The problem is the table view keeps red...
Is there any SIMPLE way of rendering formatted text (from a char* buffer) to the display...?
And I mean, simple.... In C or C++ or even Java, on nearly any platform, including embedded, you can get a pointer to a framebuffer or display and render simple text or pixels with 2 or 3, 5 max lines of code....
I have been looking in across ...
Hi all,
Apple's rejected my app because it says:
"3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Ob...