Posts

Post not yet marked as solved
0 Replies
185 Views
I work on a very large project based on Mozilla Firefox, I am getting a crash at -O2 and -O3. It is stable at -O0 and -O1, so I did some research and found a number of optimizations that supposedly get enabled at -O2. The information I found tells me that I should use -mllvm and the optimization flag that gets passed to the LLVM "opt" command in the normal LLVM toolchain. However Apple's command line tools do not have the "opt" command and -mllvm does not seem to accept the "opt" flags. What is the Apple way of seeing what optimizations are enabled in -O2 and how do I enable or disable them individually?
Posted
by dbsoft.
Last updated
.
Post marked as solved
4 Replies
675 Views
Still struggling with menus in iOS 13/14.... I tried to add a menu to the navigation bar.... and I am also getting the same error as the context menus... "The interaction's view (or an ancestor) must have an associated view controller for presentation to work." The UIWindow has a rootViewController...the stand-alone Navigation bar is a subview of the UIWindow... and I add the menu to the navigation bar with: UIBarButtonItem *options = [[UIBarButtonItem alloc] initWithImage:[UIImage systemImageNamed:@"list.bullet"] menu:[windowmenu menu]]; The entire application is generated programmatically, not using Interface Builder so maybe I am not hooking things up correctly, or need to add something I am missing. Do I need to connect the UIViewController to the UINavigationBar, UITableView etc somehow?
Posted
by dbsoft.
Last updated
.