Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation bar is not positioned correctly #1

Open
yosit opened this issue Aug 30, 2010 · 4 comments
Open

Navigation bar is not positioned correctly #1

yosit opened this issue Aug 30, 2010 · 4 comments

Comments

@yosit
Copy link

yosit commented Aug 30, 2010

I have been playing with SGARViewStyles and it is very impressive.
I found the following issues:

  1. walk mode doesn't work.
  2. Navigation bar is badly positioned - seems like the AR view starts from position 0 on the top and the nav bar starts somehere around top = 50

again, it's very impressive!

@dsmith
Copy link
Contributor

dsmith commented Aug 30, 2010

Hi yosit,

Thanks for the praise. We've been working on a new branch of our SGAREnvironment that uses the AV Framework instead of the UIImagePickerController. This branch http://github.com/simplegeo/SGARViewStyles/tree/dev/feature/ios-4.0-camera-access takes care of issues #2.

As far as issue #1, what style are you looking at when you are trying to walk through the environment? There are certain styles that disable that feature.

Derek

@yosit
Copy link
Author

yosit commented Aug 30, 2010

Both Dsamsels in Distriss and KEttle+escher doesn't work.
I'll take a look at that brach,
Thanks!

@yosit
Copy link
Author

yosit commented Aug 30, 2010

I got an exception playing with the new branch (which work well for the 2 modes I mentioned):
2010-08-30 19:32:52.049 ARViewStyles[1409:307] SGGesture - Drag from 244.000000,177.000000 to 116.000000,337.000000
2010-08-30 19:32:52.074 ARViewStyles[1409:307] SGGesture - Drag from 244.000000,177.000000 to 116.000000,338.000000
2010-08-30 19:32:52.128 ARViewStyles[1409:307] SGGesture - Drag ended at 122.000000,324.000000
2010-08-30 19:32:52.136 ARViewStyles[1409:307] SGGesture - Tap released at 122.000000,324.000000
2010-08-30 19:32:53.747 ARViewStyles[1409:307] * Terminating app due to uncaught exception 'NSGenericException', reason: '* Collection <**NSArrayM: 0x1c99d0> was mutated while being enumerated.(
"<SGDistressedDamselAnnotationView: 0x73126c0; frame = (-212 -20; 280 108); layer = <CALayer: 0x7312790>>",
"<SGDistressedDamselAnnotationView: 0x7321460; frame = (4 4; 68 88); layer = <CALayer: 0x73213e0>>"
)'
* Call stack at first throw:
(
0 CoreFoundation 0x3513cfd3 __exceptionPreprocess + 114
1 libobjc.A.dylib 0x303928a5 objc_exception_throw + 24
2 CoreFoundation 0x3513ca1b __NSFastEnumerationMutationHandler + 214
3 libobjc.A.dylib 0x30398581 objc_enumerationMutation + 24
4 ARViewStyles 0x0000dde1 -[SGARView empty] + 212
5 ARViewStyles 0x0000df69 -[SGARView reloadDataForLocation:] + 24
6 ARViewStyles 0x0000d403 -[SGARView reloadData] + 50
7 ARViewStyles 0x00007edd -[SGARViewController reloadAllBuckets] + 136
8 ARViewStyles 0x00005f17 -[SGStylesViewController reloadAnnotations] + 490
9 ARViewStyles 0x0000534b -[SGStylesViewController tableView:didSelectRowAtIndexPath:] + 278
10 UIKit 0x3224cf47 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 662
11 UIKit 0x32258b47 -[UITableView _userSelectRowAtIndexPath:] + 130
12 Foundation 0x339c1c8d __NSFireDelayedPerform + 368
13 CoreFoundation 0x35112a5b __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
+ 14
14 CoreFoundation 0x35114ee5 __CFRunLoopDoTimer + 860
15 CoreFoundation 0x35115865 __CFRunLoopRun + 1088
16 CoreFoundation 0x350be8eb CFRunLoopRunSpecific + 230
17 CoreFoundation 0x350be7f3 CFRunLoopRunInMode + 58
18 GraphicsServices 0x309776ef GSEventRunModal + 114
19 GraphicsServices 0x3097779b GSEventRun + 62
20 UIKit 0x321c12a7 -[UIApplication _run] + 402
21 UIKit 0x321bfe17 UIApplicationMain + 670
22 ARViewStyles 0x00002d5f main + 70
23 ARViewStyles 0x00002d14 start + 40
)
terminate called after throwing an instance of 'NSException'
Program received signal: “SIGABRT”.
(gdb)

@dsmith
Copy link
Contributor

dsmith commented Aug 30, 2010

Thanks for the report!

I've found the issue and committed it to the SGAREnvironment 4.0 branch http://github.com/simplegeo/SGAREnvironment/commit/bfc8fa32b19a38094a9eed912c42d08c975b1b01 I'll get around to updating all the demo applications later this evening.

Derek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants