Jump to content

LooN3y

LooN3y

Member Since 07 Mar 2012
Offline Last Active Jul 04 2013 09:42 AM
-----

Topics I've Started

Sending App To Another Developer's License

04 July 2013 - 07:05 AM

im developing an app for a company,


but they are getting their own developers license,


how can i get it to run on their xcode?

Auto Layout Worth It?

02 July 2013 - 03:48 AM

I know its good when changing form landscape to portrait orientation

but is it good for transitioning from iPhone Storyboard to iPad? the iPhone version is going to be only portrait but the iPad version of my app will support landscape orientation and portrait. (the iPad storyboard is just going to be a bigger version of the app [bigger/more images, bigger tableview, it will not have any split views or multiple tableviews] almost exactly the same)

Need Suggestions Naming ViewController

03 December 2012 - 12:08 PM

In my app I'm planning to combine my "popular" and "new" viewcontrollers into one, and have the "new" items have badges saying "new"



what should this view controller be called? i was thinking something like "Hot Items, or What's Hot" with a tab bar icon of a fire or something.



any suggestions?

App Compatibility (iOS & Device)

10 October 2012 - 06:58 AM

how many old versions should my app be compatible with?

so far im thinking just iOS5, and iOS6, since I've read that close to 90% of all iOS users update their devices.


and when iOS7 comes out, for future apps and versions should i let the app be backwards compatible with iOS5? given that the original iPad and iPhone 3G is going to be stuck with iOS5.

does people know how the percentage of people using older devices? how long will i have to be able to support these older devices and OS?

Autorotation & Positioning Problem

05 October 2012 - 07:10 AM

On my app i found this problem, when in landscape mode and i select an item which leads to another view, my description doesn't show up.


but when im in portrait view and i select the item, and than i rotate it, THEN for some reason my description shows:


heres the a photo of the view when i use the app in landscape mode only


Posted Image




heres the photo of the view, when i use the app in portrait mode and than rotate it to landscape when im at this view. so you guys have some type of idea what im talking about


Posted Image





heres my coding:


- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
//return (interfaceOrientation == UIInterfaceOrientationPortrait);

if ([[UIDevice currentDevice]userInterfaceIdiom]==UIUserInterfaceIdiomPhone)
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
else
{
if (UIInterfaceOrientationIsPortrait(interfaceOrientation))
{
// Portrait frames
view_style_descript.frame = CGRectMake(0, 664, 768, 90);
view_Washing_Intrn.frame=CGRectMake(0, 753, 768, 158);
//[self RemoveSubView];
//view_color.frame = CGRectMake(710, 80, view_color.frame.size.width, view_color.frame.size.height);
}
else
{
// Landscape frames
view_style_descript.frame = CGRectMake(465, 200, 560, 90);
view_Washing_Intrn.frame=CGRectMake(465, 290, 560, 250);
// [self RemoveSubView];
//view_color.frame = CGRectMake(965, 80, view_color.frame.size.width, view_color.frame.size.height);
}

return YES;
}
}



- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
{

if ([[UIDevice currentDevice]userInterfaceIdiom]==UIUserInterfaceIdiomPad)
{
if (UIInterfaceOrientationIsPortrait(toInterfaceOrientation))
{
// Portrait frames
view_style_descript.frame = CGRectMake(0, 664, 768, 90);
view_Washing_Intrn.frame=CGRectMake(0, 753, 768, 158);


if(ShowColor==FALSE)
{
view_color.frame = CGRectMake(710, 80, view_color.frame.size.width, view_color.frame.size.height);
}
else
{
view_color.frame = CGRectMake(665, 80, view_color.frame.size.width, view_color.frame.size.height);
}
}
else
{
// Landscape frames
view_style_descript.frame = CGRectMake(465, 200, 560, 90);
view_Washing_Intrn.frame=CGRectMake(465, 290, 560, 250);
if(ShowColor==FALSE)
{
view_color.frame = CGRectMake(965, 80, view_color.frame.size.width, view_color.frame.size.height);
}
else
{
view_color.frame = CGRectMake(925, 80, view_color.frame.size.width, view_color.frame.size.height);
}
}

}

}



these do not work, i tried using the If statement on viewDidLoad, but it doesn't know if its in portrait mode or landscape.


- (void)viewDidLoad
{
[super viewDidLoad];


if (UIInterfaceOrientationPortrait)
{
// Portrait frames
view_style_descript.frame = CGRectMake(0, 664, 768, 90);
view_Washing_Intrn.frame=CGRectMake(0, 753, 768, 158);
//[self RemoveSubView];
//view_color.frame = CGRectMake(710, 80, view_color.frame.size.width, view_color.frame.size.height);
}
else
{
// Landscape frames
view_style_descript.frame = CGRectMake(465, 200, 560, 90);
view_Washing_Intrn.frame=CGRectMake(465, 290, 560, 250);
// [self RemoveSubView];
//view_color.frame = CGRectMake(965, 80, view_color.frame.size.width, view_color.frame.size.height);
}

}

so basically if i put a "!" infront of UIInterfaceOrientationPortrait it executes the else statement, if not than the if.


anyone have any suggestions or advice???
© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy